OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef UI_VIEWS_CONTENT_CLIENT_VIEWS_CONTENT_BROWSER_CLIENT_H_ | 5 #ifndef UI_VIEWS_CONTENT_CLIENT_VIEWS_CONTENT_BROWSER_CLIENT_H_ |
6 #define UI_VIEWS_CONTENT_CLIENT_VIEWS_CONTENT_BROWSER_CLIENT_H_ | 6 #define UI_VIEWS_CONTENT_CLIENT_VIEWS_CONTENT_BROWSER_CLIENT_H_ |
7 | 7 |
8 #include "base/macros.h" | 8 #include "base/macros.h" |
9 #include "content/public/browser/content_browser_client.h" | 9 #include "content/public/browser/content_browser_client.h" |
10 | 10 |
11 namespace ui { | 11 namespace ui { |
12 | 12 |
13 class ViewsContentClient; | 13 class ViewsContentClient; |
14 class ViewsContentClientMainParts; | 14 class ViewsContentClientMainParts; |
15 | 15 |
16 class ViewsContentBrowserClient : public content::ContentBrowserClient { | 16 class ViewsContentBrowserClient : public content::ContentBrowserClient { |
17 public: | 17 public: |
18 explicit ViewsContentBrowserClient( | 18 explicit ViewsContentBrowserClient( |
19 ViewsContentClient* views_content_client); | 19 ViewsContentClient* views_content_client); |
20 ~ViewsContentBrowserClient() override; | 20 ~ViewsContentBrowserClient() override; |
21 | 21 |
22 // content::ContentBrowserClient: | 22 // content::ContentBrowserClient: |
23 content::BrowserMainParts* CreateBrowserMainParts( | 23 content::BrowserMainParts* CreateBrowserMainParts( |
24 const content::MainFunctionParams& parameters) override; | 24 const content::MainFunctionParams& parameters) override; |
25 | 25 |
| 26 // TODO |
| 27 // void GetTemporaryStorageConfiguration( |
| 28 // content::BrowserContext* context, |
| 29 // const base::FilePath& partition_path, bool is_incognito, |
| 30 // const storage::TemporaryStorageConfigurationCallback& callback)override; |
| 31 |
26 private: | 32 private: |
27 ViewsContentClientMainParts* views_content_main_parts_; | 33 ViewsContentClientMainParts* views_content_main_parts_; |
28 ViewsContentClient* views_content_client_; | 34 ViewsContentClient* views_content_client_; |
29 | 35 |
30 DISALLOW_COPY_AND_ASSIGN(ViewsContentBrowserClient); | 36 DISALLOW_COPY_AND_ASSIGN(ViewsContentBrowserClient); |
31 }; | 37 }; |
32 | 38 |
33 } // namespace ui | 39 } // namespace ui |
34 | 40 |
35 #endif // UI_VIEWS_CONTENT_CLIENT_VIEWS_CONTENT_BROWSER_CLIENT_H_ | 41 #endif // UI_VIEWS_CONTENT_CLIENT_VIEWS_CONTENT_BROWSER_CLIENT_H_ |
OLD | NEW |