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

Side by Side Diff: chrome/test/base/testing_profile.h

Issue 9665007: Profile refactoring: Remove all PasswordStore code from the Profile interface. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Win and Mac Created 8 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 | 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 #ifndef CHROME_TEST_BASE_TESTING_PROFILE_H_ 5 #ifndef CHROME_TEST_BASE_TESTING_PROFILE_H_
6 #define CHROME_TEST_BASE_TESTING_PROFILE_H_ 6 #define CHROME_TEST_BASE_TESTING_PROFILE_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
(...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after
195 virtual HistoryService* GetHistoryService(ServiceAccessType access) OVERRIDE; 195 virtual HistoryService* GetHistoryService(ServiceAccessType access) OVERRIDE;
196 virtual HistoryService* GetHistoryServiceWithoutCreating() OVERRIDE; 196 virtual HistoryService* GetHistoryServiceWithoutCreating() OVERRIDE;
197 // The CookieMonster will only be returned if a Context has been created. Do 197 // The CookieMonster will only be returned if a Context has been created. Do
198 // this by calling CreateRequestContext(). See the note at GetRequestContext 198 // this by calling CreateRequestContext(). See the note at GetRequestContext
199 // for more information. 199 // for more information.
200 net::CookieMonster* GetCookieMonster(); 200 net::CookieMonster* GetCookieMonster();
201 virtual AutocompleteClassifier* GetAutocompleteClassifier() OVERRIDE; 201 virtual AutocompleteClassifier* GetAutocompleteClassifier() OVERRIDE;
202 virtual history::ShortcutsBackend* GetShortcutsBackend() OVERRIDE; 202 virtual history::ShortcutsBackend* GetShortcutsBackend() OVERRIDE;
203 virtual WebDataService* GetWebDataService(ServiceAccessType access) OVERRIDE; 203 virtual WebDataService* GetWebDataService(ServiceAccessType access) OVERRIDE;
204 virtual WebDataService* GetWebDataServiceWithoutCreating() OVERRIDE; 204 virtual WebDataService* GetWebDataServiceWithoutCreating() OVERRIDE;
205 virtual PasswordStore* GetPasswordStore(ServiceAccessType access) OVERRIDE;
206 // Sets the profile's PrefService. If a pref service hasn't been explicitly 205 // Sets the profile's PrefService. If a pref service hasn't been explicitly
207 // set GetPrefs creates one, so normally you need not invoke this. If you need 206 // set GetPrefs creates one, so normally you need not invoke this. If you need
208 // to set a pref service you must invoke this before GetPrefs. 207 // to set a pref service you must invoke this before GetPrefs.
209 // TestingPrefService takes ownership of |prefs|. 208 // TestingPrefService takes ownership of |prefs|.
210 void SetPrefService(PrefService* prefs); 209 void SetPrefService(PrefService* prefs);
211 virtual PrefService* GetPrefs() OVERRIDE; 210 virtual PrefService* GetPrefs() OVERRIDE;
212 virtual TemplateURLFetcher* GetTemplateURLFetcher() OVERRIDE; 211 virtual TemplateURLFetcher* GetTemplateURLFetcher() OVERRIDE;
213 virtual history::TopSites* GetTopSites() OVERRIDE; 212 virtual history::TopSites* GetTopSites() OVERRIDE;
214 virtual history::TopSites* GetTopSitesWithoutCreating() OVERRIDE; 213 virtual history::TopSites* GetTopSitesWithoutCreating() OVERRIDE;
215 214
(...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after
380 // testing. 379 // testing.
381 ProfileDependencyManager* profile_dependency_manager_; 380 ProfileDependencyManager* profile_dependency_manager_;
382 381
383 scoped_ptr<content::MockResourceContext> resource_context_; 382 scoped_ptr<content::MockResourceContext> resource_context_;
384 383
385 // Weak pointer to a delegate for indicating that a profile was created. 384 // Weak pointer to a delegate for indicating that a profile was created.
386 Delegate* delegate_; 385 Delegate* delegate_;
387 }; 386 };
388 387
389 #endif // CHROME_TEST_BASE_TESTING_PROFILE_H_ 388 #endif // CHROME_TEST_BASE_TESTING_PROFILE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698