| 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 12 matching lines...) Expand all Loading... |
| 23 class ShellBrowserMainParts; | 23 class ShellBrowserMainParts; |
| 24 | 24 |
| 25 class ShellContentBrowserClient : public content::ContentBrowserClient { | 25 class ShellContentBrowserClient : public content::ContentBrowserClient { |
| 26 public: | 26 public: |
| 27 ShellContentBrowserClient(); | 27 ShellContentBrowserClient(); |
| 28 ~ShellContentBrowserClient() override; | 28 ~ShellContentBrowserClient() override; |
| 29 | 29 |
| 30 // Overridden from content::ContentBrowserClient: | 30 // Overridden from content::ContentBrowserClient: |
| 31 content::BrowserMainParts* CreateBrowserMainParts( | 31 content::BrowserMainParts* CreateBrowserMainParts( |
| 32 const content::MainFunctionParams& parameters) override; | 32 const content::MainFunctionParams& parameters) override; |
| 33 void GetQuotaSettings( |
| 34 content::BrowserContext* context, |
| 35 content::StoragePartition* partition, |
| 36 const storage::OptionalQuotaSettingsCallback& callback) override; |
| 33 | 37 |
| 34 private: | 38 private: |
| 35 ShellBrowserMainParts* shell_browser_main_parts_; | 39 ShellBrowserMainParts* shell_browser_main_parts_; |
| 36 | 40 |
| 37 DISALLOW_COPY_AND_ASSIGN(ShellContentBrowserClient); | 41 DISALLOW_COPY_AND_ASSIGN(ShellContentBrowserClient); |
| 38 }; | 42 }; |
| 39 | 43 |
| 40 } // namespace shell | 44 } // namespace shell |
| 41 } // namespace ash | 45 } // namespace ash |
| 42 | 46 |
| 43 #endif // ASH_SHELL_CONTENT_CLIENT_SHELL_CONTENT_BROWSER_CLIENT_H_ | 47 #endif // ASH_SHELL_CONTENT_CLIENT_SHELL_CONTENT_BROWSER_CLIENT_H_ |
| OLD | NEW |