| 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 CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ | 5 #ifndef CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ |
| 6 #define CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ | 6 #define CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ |
| 7 | 7 |
| 8 #include <stddef.h> | 8 #include <stddef.h> |
| 9 | 9 |
| 10 #include <memory> | 10 #include <memory> |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 60 static void RegisterProfilePrefs(user_prefs::PrefRegistrySyncable* registry); | 60 static void RegisterProfilePrefs(user_prefs::PrefRegistrySyncable* registry); |
| 61 | 61 |
| 62 // Notification that the application locale has changed. This allows us to | 62 // Notification that the application locale has changed. This allows us to |
| 63 // update our I/O thread cache of this value. | 63 // update our I/O thread cache of this value. |
| 64 static void SetApplicationLocale(const std::string& locale); | 64 static void SetApplicationLocale(const std::string& locale); |
| 65 | 65 |
| 66 content::BrowserMainParts* CreateBrowserMainParts( | 66 content::BrowserMainParts* CreateBrowserMainParts( |
| 67 const content::MainFunctionParams& parameters) override; | 67 const content::MainFunctionParams& parameters) override; |
| 68 void PostAfterStartupTask(const tracked_objects::Location& from_here, | 68 void PostAfterStartupTask(const tracked_objects::Location& from_here, |
| 69 const scoped_refptr<base::TaskRunner>& task_runner, | 69 const scoped_refptr<base::TaskRunner>& task_runner, |
| 70 base::Closure task) override; | 70 base::OnceClosure task) override; |
| 71 bool IsBrowserStartupComplete() override; | 71 bool IsBrowserStartupComplete() override; |
| 72 std::string GetStoragePartitionIdForSite( | 72 std::string GetStoragePartitionIdForSite( |
| 73 content::BrowserContext* browser_context, | 73 content::BrowserContext* browser_context, |
| 74 const GURL& site) override; | 74 const GURL& site) override; |
| 75 bool IsValidStoragePartitionId(content::BrowserContext* browser_context, | 75 bool IsValidStoragePartitionId(content::BrowserContext* browser_context, |
| 76 const std::string& partition_id) override; | 76 const std::string& partition_id) override; |
| 77 void GetStoragePartitionConfigForSite( | 77 void GetStoragePartitionConfigForSite( |
| 78 content::BrowserContext* browser_context, | 78 content::BrowserContext* browser_context, |
| 79 const GURL& site, | 79 const GURL& site, |
| 80 bool can_be_default, | 80 bool can_be_default, |
| (...skipping 305 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 386 std::vector<ChromeContentBrowserClientParts*> extra_parts_; | 386 std::vector<ChromeContentBrowserClientParts*> extra_parts_; |
| 387 | 387 |
| 388 service_manager::BinderRegistry gpu_binder_registry_; | 388 service_manager::BinderRegistry gpu_binder_registry_; |
| 389 | 389 |
| 390 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_; | 390 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_; |
| 391 | 391 |
| 392 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); | 392 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); |
| 393 }; | 393 }; |
| 394 | 394 |
| 395 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ | 395 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ |
| OLD | NEW |