| OLD | NEW |
| (Empty) | |
| 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 |
| 5 #include "components/sessions/content/content_tab_client_data.h" |
| 6 |
| 7 #include "content/public/browser/navigation_controller.h" |
| 8 #include "content/public/browser/web_contents.h" |
| 9 |
| 10 namespace sessions { |
| 11 |
| 12 ContentTabClientData::ContentTabClientData(content::WebContents* web_contents) |
| 13 : // TODO(ajwong): This does not correctly handle storage for isolated |
| 14 // apps. |
| 15 session_storage_namespace_(web_contents->GetController() |
| 16 .GetDefaultSessionStorageNamespace()) {} |
| 17 |
| 18 ContentTabClientData::~ContentTabClientData() {} |
| 19 |
| 20 } // namespace sessions |
| OLD | NEW |