content_platform_specific_tab_data.cc 875 B

1234567891011121314151617181920212223
  1. // Copyright 2015 The Chromium Authors. All rights reserved.
  2. // Use of this source code is governed by a BSD-style license that can be
  3. // found in the LICENSE file.
  4. #include "components/sessions/content/content_platform_specific_tab_data.h"
  5. #include "content/public/browser/navigation_controller.h"
  6. #include "content/public/browser/web_contents.h"
  7. namespace sessions {
  8. ContentPlatformSpecificTabData::ContentPlatformSpecificTabData(
  9. content::WebContents* web_contents)
  10. : // TODO(ajwong): This does not correctly handle storage for isolated
  11. // apps.
  12. session_storage_namespace_(web_contents->GetController()
  13. .GetDefaultSessionStorageNamespace()) {}
  14. ContentPlatformSpecificTabData::ContentPlatformSpecificTabData() {}
  15. ContentPlatformSpecificTabData::~ContentPlatformSpecificTabData() {}
  16. } // namespace sessions