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

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

Issue 10383114: Rename BrowserInit to StartupBrowserCreator, and move into startup subdir. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 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
« no previous file with comments | « chrome/browser/profiles/avatar_menu_model.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 #pragma once 9 #pragma once
10 10
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
123 123
124 virtual PrefProxyConfigTracker* GetProxyConfigTracker() OVERRIDE; 124 virtual PrefProxyConfigTracker* GetProxyConfigTracker() OVERRIDE;
125 125
126 // content::NotificationObserver implementation. 126 // content::NotificationObserver implementation.
127 virtual void Observe(int type, 127 virtual void Observe(int type,
128 const content::NotificationSource& source, 128 const content::NotificationSource& source,
129 const content::NotificationDetails& details) OVERRIDE; 129 const content::NotificationDetails& details) OVERRIDE;
130 130
131 private: 131 private:
132 friend class Profile; 132 friend class Profile;
133 FRIEND_TEST_ALL_PREFIXES(BrowserInitTest, ProfilesLaunchedAfterCrash); 133 FRIEND_TEST_ALL_PREFIXES(StartupBrowserCreatorTest,
134 ProfilesLaunchedAfterCrash);
134 FRIEND_TEST_ALL_PREFIXES(ProfileBrowserTest, ProfileReadmeCreated); 135 FRIEND_TEST_ALL_PREFIXES(ProfileBrowserTest, ProfileReadmeCreated);
135 FRIEND_TEST_ALL_PREFIXES(ProfileBrowserTest, 136 FRIEND_TEST_ALL_PREFIXES(ProfileBrowserTest,
136 ProfileDeletedBeforeReadmeCreated); 137 ProfileDeletedBeforeReadmeCreated);
137 138
138 // Delay, in milliseconds, before README file is created for a new profile. 139 // Delay, in milliseconds, before README file is created for a new profile.
139 // This is non-const for testing purposes. 140 // This is non-const for testing purposes.
140 static int create_readme_delay_ms; 141 static int create_readme_delay_ms;
141 142
142 ProfileImpl(const FilePath& path, 143 ProfileImpl(const FilePath& path,
143 Delegate* delegate, 144 Delegate* delegate,
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
272 Profile::Delegate* delegate_; 273 Profile::Delegate* delegate_;
273 274
274 chrome_browser_net::Predictor* predictor_; 275 chrome_browser_net::Predictor* predictor_;
275 276
276 bool session_restore_enabled_; 277 bool session_restore_enabled_;
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/profiles/avatar_menu_model.cc ('k') | chrome/browser/profiles/profile_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698