Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(264)

Side by Side Diff: chrome/browser/chrome_content_browser_client.h

Issue 18199003: Allow Chrome OS login profile to have different default pref values (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Comment addressed. Created 7 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 #include <utility> 10 #include <utility>
(...skipping 18 matching lines...) Expand all
29 class PrefRegistrySyncable; 29 class PrefRegistrySyncable;
30 } 30 }
31 31
32 namespace chrome { 32 namespace chrome {
33 33
34 class ChromeContentBrowserClient : public content::ContentBrowserClient { 34 class ChromeContentBrowserClient : public content::ContentBrowserClient {
35 public: 35 public:
36 ChromeContentBrowserClient(); 36 ChromeContentBrowserClient();
37 virtual ~ChromeContentBrowserClient(); 37 virtual ~ChromeContentBrowserClient();
38 38
39 static void RegisterUserPrefs(user_prefs::PrefRegistrySyncable* registry); 39 static void RegisterProfilePrefs(user_prefs::PrefRegistrySyncable* registry);
40 40
41 // Notification that the application locale has changed. This allows us to 41 // Notification that the application locale has changed. This allows us to
42 // update our I/O thread cache of this value. 42 // update our I/O thread cache of this value.
43 static void SetApplicationLocale(const std::string& locale); 43 static void SetApplicationLocale(const std::string& locale);
44 44
45 virtual content::BrowserMainParts* CreateBrowserMainParts( 45 virtual content::BrowserMainParts* CreateBrowserMainParts(
46 const content::MainFunctionParams& parameters) OVERRIDE; 46 const content::MainFunctionParams& parameters) OVERRIDE;
47 virtual std::string GetStoragePartitionIdForSite( 47 virtual std::string GetStoragePartitionIdForSite(
48 content::BrowserContext* browser_context, 48 content::BrowserContext* browser_context,
49 const GURL& site) OVERRIDE; 49 const GURL& site) OVERRIDE;
(...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after
271 #endif 271 #endif
272 scoped_ptr<extensions::BrowserPermissionsPolicyDelegate> 272 scoped_ptr<extensions::BrowserPermissionsPolicyDelegate>
273 permissions_policy_delegate_; 273 permissions_policy_delegate_;
274 274
275 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); 275 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient);
276 }; 276 };
277 277
278 } // namespace chrome 278 } // namespace chrome
279 279
280 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ 280 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698