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

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

Issue 15517005: Remove references to Profile from browser_context_keyed_service. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase & style Created 7 years, 7 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_PROFILES_CHROME_BROWSER_MAIN_EXTRA_PARTS_PROFILES_H_ 5 #ifndef CHROME_BROWSER_PROFILES_CHROME_BROWSER_MAIN_EXTRA_PARTS_PROFILES_H_
6 #define CHROME_BROWSER_PROFILES_CHROME_BROWSER_MAIN_EXTRA_PARTS_PROFILES_H_ 6 #define CHROME_BROWSER_PROFILES_CHROME_BROWSER_MAIN_EXTRA_PARTS_PROFILES_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "chrome/browser/chrome_browser_main_extra_parts.h" 10 #include "chrome/browser/chrome_browser_main_extra_parts.h"
11 11
12 class ChromeBrowserMainParts; 12 class ChromeBrowserMainParts;
13 13
14 namespace chrome { 14 namespace chrome {
15 void AddProfilesExtraParts(ChromeBrowserMainParts* main_parts); 15 void AddProfilesExtraParts(ChromeBrowserMainParts* main_parts);
16 } 16 }
17 17
18 class ChromeBrowserMainExtraPartsProfiles : public ChromeBrowserMainExtraParts { 18 class ChromeBrowserMainExtraPartsProfiles : public ChromeBrowserMainExtraParts {
19 public: 19 public:
20 ChromeBrowserMainExtraPartsProfiles(); 20 ChromeBrowserMainExtraPartsProfiles();
21 virtual ~ChromeBrowserMainExtraPartsProfiles(); 21 virtual ~ChromeBrowserMainExtraPartsProfiles();
22 22
23 // Instantiates all chrome ProfileKeyedService factories, which is especially 23 // Instantiates all chrome BrowserContextKeyedService factories, which is
24 // important for services that should be created at profile creation time 24 // especially important for services that should be created at profile
25 // as compared to lazily on first access. 25 // creation time as compared to lazily on first access.
26 static void EnsureProfileKeyedServiceFactoriesBuilt(); 26 static void EnsureBrowserContextKeyedServiceFactoriesBuilt();
27 27
28 // Overridden from ChromeBrowserMainExtraParts: 28 // Overridden from ChromeBrowserMainExtraParts:
29 virtual void PreProfileInit() OVERRIDE; 29 virtual void PreProfileInit() OVERRIDE;
30 30
31 private: 31 private:
32 DISALLOW_COPY_AND_ASSIGN(ChromeBrowserMainExtraPartsProfiles); 32 DISALLOW_COPY_AND_ASSIGN(ChromeBrowserMainExtraPartsProfiles);
33 }; 33 };
34 34
35 #endif // CHROME_BROWSER_PROFILES_CHROME_BROWSER_MAIN_EXTRA_PARTS_PROFILES_H_ 35 #endif // CHROME_BROWSER_PROFILES_CHROME_BROWSER_MAIN_EXTRA_PARTS_PROFILES_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698