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

Side by Side Diff: chrome/browser/profiles/profile_impl.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
« no previous file with comments | « chrome/browser/profiles/profile.cc ('k') | chrome/browser/profiles/profile_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 // This class gathers state related to a single user profile. 5 // This class gathers state related to a single user profile.
6 6
7 #ifndef CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ 7 #ifndef CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_
8 #define CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ 8 #define CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_
9 9
10 #include <string> 10 #include <string>
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 } 55 }
56 56
57 // The default profile implementation. 57 // The default profile implementation.
58 class ProfileImpl : public Profile { 58 class ProfileImpl : public Profile {
59 public: 59 public:
60 // Value written to prefs when the exit type is EXIT_NORMAL. Public for tests. 60 // Value written to prefs when the exit type is EXIT_NORMAL. Public for tests.
61 static const char* const kPrefExitTypeNormal; 61 static const char* const kPrefExitTypeNormal;
62 62
63 virtual ~ProfileImpl(); 63 virtual ~ProfileImpl();
64 64
65 static void RegisterUserPrefs(user_prefs::PrefRegistrySyncable* registry); 65 static void RegisterProfilePrefs(user_prefs::PrefRegistrySyncable* registry);
66 66
67 // content::BrowserContext implementation: 67 // content::BrowserContext implementation:
68 virtual base::FilePath GetPath() OVERRIDE; 68 virtual base::FilePath GetPath() OVERRIDE;
69 virtual content::DownloadManagerDelegate* 69 virtual content::DownloadManagerDelegate*
70 GetDownloadManagerDelegate() OVERRIDE; 70 GetDownloadManagerDelegate() OVERRIDE;
71 virtual net::URLRequestContextGetter* GetRequestContext() OVERRIDE; 71 virtual net::URLRequestContextGetter* GetRequestContext() OVERRIDE;
72 virtual net::URLRequestContextGetter* GetRequestContextForRenderProcess( 72 virtual net::URLRequestContextGetter* GetRequestContextForRenderProcess(
73 int renderer_child_id) OVERRIDE; 73 int renderer_child_id) OVERRIDE;
74 virtual net::URLRequestContextGetter* GetMediaRequestContext() OVERRIDE; 74 virtual net::URLRequestContextGetter* GetMediaRequestContext() OVERRIDE;
75 virtual net::URLRequestContextGetter* GetMediaRequestContextForRenderProcess( 75 virtual net::URLRequestContextGetter* GetMediaRequestContextForRenderProcess(
(...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after
267 // components/browser_context_keyed_service/browser_context_keyed_service_fa ctory.{h,cc} 267 // components/browser_context_keyed_service/browser_context_keyed_service_fa ctory.{h,cc}
268 268
269 Profile::Delegate* delegate_; 269 Profile::Delegate* delegate_;
270 270
271 chrome_browser_net::Predictor* predictor_; 271 chrome_browser_net::Predictor* predictor_;
272 272
273 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); 273 DISALLOW_COPY_AND_ASSIGN(ProfileImpl);
274 }; 274 };
275 275
276 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ 276 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_
OLDNEW
« no previous file with comments | « chrome/browser/profiles/profile.cc ('k') | chrome/browser/profiles/profile_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698