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

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

Issue 7748038: Remove BrowserSignin, as it's not used anywhere. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 4 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/chrome_tests.gypi ('k') | chrome/test/base/testing_profile.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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 168 matching lines...) Expand 10 before | Expand all | Expand 10 after
179 void SetPrefService(PrefService* prefs); 179 void SetPrefService(PrefService* prefs);
180 virtual PrefService* GetPrefs(); 180 virtual PrefService* GetPrefs();
181 virtual TemplateURLFetcher* GetTemplateURLFetcher(); 181 virtual TemplateURLFetcher* GetTemplateURLFetcher();
182 virtual history::TopSites* GetTopSites(); 182 virtual history::TopSites* GetTopSites();
183 virtual history::TopSites* GetTopSitesWithoutCreating(); 183 virtual history::TopSites* GetTopSitesWithoutCreating();
184 virtual DownloadManager* GetDownloadManager(); 184 virtual DownloadManager* GetDownloadManager();
185 virtual PersonalDataManager* GetPersonalDataManager(); 185 virtual PersonalDataManager* GetPersonalDataManager();
186 virtual fileapi::FileSystemContext* GetFileSystemContext(); 186 virtual fileapi::FileSystemContext* GetFileSystemContext();
187 virtual void SetQuotaManager(quota::QuotaManager* manager); 187 virtual void SetQuotaManager(quota::QuotaManager* manager);
188 virtual quota::QuotaManager* GetQuotaManager(); 188 virtual quota::QuotaManager* GetQuotaManager();
189 virtual BrowserSignin* GetBrowserSignin();
190 virtual bool HasCreatedDownloadManager() const; 189 virtual bool HasCreatedDownloadManager() const;
191 190
192 // Returns a testing ContextGetter (if one has been created via 191 // Returns a testing ContextGetter (if one has been created via
193 // CreateRequestContext) or NULL. This is not done on-demand for two reasons: 192 // CreateRequestContext) or NULL. This is not done on-demand for two reasons:
194 // (1) Some tests depend on GetRequestContext() returning NULL. (2) Because 193 // (1) Some tests depend on GetRequestContext() returning NULL. (2) Because
195 // of the special memory management considerations for the 194 // of the special memory management considerations for the
196 // TestURLRequestContextGetter class, many tests would find themseleves 195 // TestURLRequestContextGetter class, many tests would find themseleves
197 // leaking if they called this method without the necessary IO thread. This 196 // leaking if they called this method without the necessary IO thread. This
198 // getter is currently only capable of returning a Context that helps test 197 // getter is currently only capable of returning a Context that helps test
199 // the CookieMonster. See implementation comments for more details. 198 // the CookieMonster. See implementation comments for more details.
(...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after
390 // testing. 389 // testing.
391 ProfileDependencyManager* profile_dependency_manager_; 390 ProfileDependencyManager* profile_dependency_manager_;
392 391
393 scoped_refptr<ChromeAppCacheService> appcache_service_; 392 scoped_refptr<ChromeAppCacheService> appcache_service_;
394 393
395 // The QuotaManager, only available if set explicitly via SetQuotaManager. 394 // The QuotaManager, only available if set explicitly via SetQuotaManager.
396 scoped_refptr<quota::QuotaManager> quota_manager_; 395 scoped_refptr<quota::QuotaManager> quota_manager_;
397 }; 396 };
398 397
399 #endif // CHROME_TEST_BASE_TESTING_PROFILE_H_ 398 #endif // CHROME_TEST_BASE_TESTING_PROFILE_H_
OLDNEW
« no previous file with comments | « chrome/chrome_tests.gypi ('k') | chrome/test/base/testing_profile.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698