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

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

Issue 11597010: Automate more Better Session Restore tests: Crashes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years 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 // 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 122 matching lines...) Expand 10 before | Expand all | Expand 10 after
133 133
134 virtual PrefProxyConfigTracker* GetProxyConfigTracker() OVERRIDE; 134 virtual PrefProxyConfigTracker* GetProxyConfigTracker() OVERRIDE;
135 135
136 // content::NotificationObserver implementation. 136 // content::NotificationObserver implementation.
137 virtual void Observe(int type, 137 virtual void Observe(int type,
138 const content::NotificationSource& source, 138 const content::NotificationSource& source,
139 const content::NotificationDetails& details) OVERRIDE; 139 const content::NotificationDetails& details) OVERRIDE;
140 140
141 private: 141 private:
142 friend class Profile; 142 friend class Profile;
143 friend class BetterSessionRestoreCrashTest;
143 FRIEND_TEST_ALL_PREFIXES(StartupBrowserCreatorTest, 144 FRIEND_TEST_ALL_PREFIXES(StartupBrowserCreatorTest,
144 ProfilesLaunchedAfterCrash); 145 ProfilesLaunchedAfterCrash);
145 FRIEND_TEST_ALL_PREFIXES(ProfileBrowserTest, ProfileReadmeCreated); 146 FRIEND_TEST_ALL_PREFIXES(ProfileBrowserTest, ProfileReadmeCreated);
146 FRIEND_TEST_ALL_PREFIXES(ProfileBrowserTest, 147 FRIEND_TEST_ALL_PREFIXES(ProfileBrowserTest,
147 ProfileDeletedBeforeReadmeCreated); 148 ProfileDeletedBeforeReadmeCreated);
148 149
149 // Delay, in milliseconds, before README file is created for a new profile. 150 // Delay, in milliseconds, before README file is created for a new profile.
150 // This is non-const for testing purposes. 151 // This is non-const for testing purposes.
151 static int create_readme_delay_ms; 152 static int create_readme_delay_ms;
152 153
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after
276 // chrome/browser/profile/profile_keyed_dependency_manager.{h,cc} 277 // chrome/browser/profile/profile_keyed_dependency_manager.{h,cc}
277 278
278 Profile::Delegate* delegate_; 279 Profile::Delegate* delegate_;
279 280
280 chrome_browser_net::Predictor* predictor_; 281 chrome_browser_net::Predictor* predictor_;
281 282
282 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); 283 DISALLOW_COPY_AND_ASSIGN(ProfileImpl);
283 }; 284 };
284 285
285 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ 286 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/sessions/base_session_service.h » ('j') | chrome/browser/sessions/base_session_service.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698