OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 ASH_SHELL_CONTENT_CLIENT_SHELL_CONTENT_BROWSER_CLIENT_H_ | 5 #ifndef ASH_SHELL_CONTENT_CLIENT_SHELL_CONTENT_BROWSER_CLIENT_H_ |
6 #define ASH_SHELL_CONTENT_CLIENT_SHELL_CONTENT_BROWSER_CLIENT_H_ | 6 #define ASH_SHELL_CONTENT_CLIENT_SHELL_CONTENT_BROWSER_CLIENT_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
(...skipping 10 matching lines...) Expand all Loading... |
21 class ShellBrowserMainParts; | 21 class ShellBrowserMainParts; |
22 | 22 |
23 class ShellContentBrowserClient : public content::ContentBrowserClient { | 23 class ShellContentBrowserClient : public content::ContentBrowserClient { |
24 public: | 24 public: |
25 ShellContentBrowserClient(); | 25 ShellContentBrowserClient(); |
26 ~ShellContentBrowserClient() override; | 26 ~ShellContentBrowserClient() override; |
27 | 27 |
28 // Overridden from content::ContentBrowserClient: | 28 // Overridden from content::ContentBrowserClient: |
29 content::BrowserMainParts* CreateBrowserMainParts( | 29 content::BrowserMainParts* CreateBrowserMainParts( |
30 const content::MainFunctionParams& parameters) override; | 30 const content::MainFunctionParams& parameters) override; |
| 31 void GetQuotaSettings( |
| 32 content::BrowserContext* context, |
| 33 content::StoragePartition* partition, |
| 34 const storage::OptionalQuotaSettingsCallback& callback) override; |
31 | 35 |
32 private: | 36 private: |
33 ShellBrowserMainParts* shell_browser_main_parts_; | 37 ShellBrowserMainParts* shell_browser_main_parts_; |
34 | 38 |
35 DISALLOW_COPY_AND_ASSIGN(ShellContentBrowserClient); | 39 DISALLOW_COPY_AND_ASSIGN(ShellContentBrowserClient); |
36 }; | 40 }; |
37 | 41 |
38 } // namespace shell | 42 } // namespace shell |
39 } // namespace ash | 43 } // namespace ash |
40 | 44 |
41 #endif // ASH_SHELL_CONTENT_CLIENT_SHELL_CONTENT_BROWSER_CLIENT_H_ | 45 #endif // ASH_SHELL_CONTENT_CLIENT_SHELL_CONTENT_BROWSER_CLIENT_H_ |
OLD | NEW |