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

Side by Side Diff: chrome/browser/profiles/profile_impl.h

Issue 2740493002: Pref service: create service at browser startup (Closed)
Patch Set: Merge Created 3 years, 9 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
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 <memory> 10 #include <memory>
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 content::URLRequestInterceptorScopedVector request_interceptors) override; 95 content::URLRequestInterceptorScopedVector request_interceptors) override;
96 net::URLRequestContextGetter* CreateRequestContextForStoragePartition( 96 net::URLRequestContextGetter* CreateRequestContextForStoragePartition(
97 const base::FilePath& partition_path, 97 const base::FilePath& partition_path,
98 bool in_memory, 98 bool in_memory,
99 content::ProtocolHandlerMap* protocol_handlers, 99 content::ProtocolHandlerMap* protocol_handlers,
100 content::URLRequestInterceptorScopedVector request_interceptors) override; 100 content::URLRequestInterceptorScopedVector request_interceptors) override;
101 net::URLRequestContextGetter* CreateMediaRequestContext() override; 101 net::URLRequestContextGetter* CreateMediaRequestContext() override;
102 net::URLRequestContextGetter* CreateMediaRequestContextForStoragePartition( 102 net::URLRequestContextGetter* CreateMediaRequestContextForStoragePartition(
103 const base::FilePath& partition_path, 103 const base::FilePath& partition_path,
104 bool in_memory) override; 104 bool in_memory) override;
105 void RegisterInProcessServices(StaticServiceMap* services) override;
105 106
106 // Profile implementation: 107 // Profile implementation:
107 scoped_refptr<base::SequencedTaskRunner> GetIOTaskRunner() override; 108 scoped_refptr<base::SequencedTaskRunner> GetIOTaskRunner() override;
108 // Note that this implementation returns the Google-services username, if any, 109 // Note that this implementation returns the Google-services username, if any,
109 // not the Chrome user's display name. 110 // not the Chrome user's display name.
110 std::string GetProfileUserName() const override; 111 std::string GetProfileUserName() const override;
111 ProfileType GetProfileType() const override; 112 ProfileType GetProfileType() const override;
112 bool IsOffTheRecord() const override; 113 bool IsOffTheRecord() const override;
113 Profile* GetOffTheRecordProfile() override; 114 Profile* GetOffTheRecordProfile() override;
114 void DestroyOffTheRecordProfile() override; 115 void DestroyOffTheRecordProfile() override;
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after
272 // components/keyed_service/content/browser_context_keyed_service_factory.* 273 // components/keyed_service/content/browser_context_keyed_service_factory.*
273 274
274 Profile::Delegate* delegate_; 275 Profile::Delegate* delegate_;
275 276
276 chrome_browser_net::Predictor* predictor_; 277 chrome_browser_net::Predictor* predictor_;
277 278
278 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); 279 DISALLOW_COPY_AND_ASSIGN(ProfileImpl);
279 }; 280 };
280 281
281 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ 282 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_
OLDNEW
« no previous file with comments | « chrome/browser/prefs/chrome_pref_service_factory.cc ('k') | chrome/browser/profiles/profile_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698