| 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; | |
| 35 | 31 |
| 36 private: | 32 private: |
| 37 ShellBrowserMainParts* shell_browser_main_parts_; | 33 ShellBrowserMainParts* shell_browser_main_parts_; |
| 38 | 34 |
| 39 DISALLOW_COPY_AND_ASSIGN(ShellContentBrowserClient); | 35 DISALLOW_COPY_AND_ASSIGN(ShellContentBrowserClient); |
| 40 }; | 36 }; |
| 41 | 37 |
| 42 } // namespace shell | 38 } // namespace shell |
| 43 } // namespace ash | 39 } // namespace ash |
| 44 | 40 |
| 45 #endif // ASH_SHELL_CONTENT_CLIENT_SHELL_CONTENT_BROWSER_CLIENT_H_ | 41 #endif // ASH_SHELL_CONTENT_CLIENT_SHELL_CONTENT_BROWSER_CLIENT_H_ |
| OLD | NEW |