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

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: Rebased. 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 223 matching lines...) Expand 10 before | Expand all | Expand 10 after
273 #endif 273 #endif
274 scoped_ptr<extensions::BrowserPermissionsPolicyDelegate> 274 scoped_ptr<extensions::BrowserPermissionsPolicyDelegate>
275 permissions_policy_delegate_; 275 permissions_policy_delegate_;
276 276
277 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); 277 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient);
278 }; 278 };
279 279
280 } // namespace chrome 280 } // namespace chrome
281 281
282 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ 282 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_
OLDNEW
« no previous file with comments | « chrome/browser/bookmarks/bookmark_utils.cc ('k') | chrome/browser/chrome_content_browser_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698