| Index: components/sessions/content/content_tab_client_data.cc
|
| diff --git a/components/sessions/content/content_tab_client_data.cc b/components/sessions/content/content_tab_client_data.cc
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..1de992e97fc5a9ee24f47263030adc28533eb55f
|
| --- /dev/null
|
| +++ b/components/sessions/content/content_tab_client_data.cc
|
| @@ -0,0 +1,20 @@
|
| +// Copyright 2015 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#include "components/sessions/content/content_tab_client_data.h"
|
| +
|
| +#include "content/public/browser/navigation_controller.h"
|
| +#include "content/public/browser/web_contents.h"
|
| +
|
| +namespace sessions {
|
| +
|
| +ContentTabClientData::ContentTabClientData(content::WebContents* web_contents)
|
| + : // TODO(ajwong): This does not correctly handle storage for isolated
|
| + // apps.
|
| + session_storage_namespace_(web_contents->GetController()
|
| + .GetDefaultSessionStorageNamespace()) {}
|
| +
|
| +ContentTabClientData::~ContentTabClientData() {}
|
| +
|
| +} // namespace sessions
|
|
|