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

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

Issue 3243005: Revert 57715 - Add a helper class that keeps per-profile information for File... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 10 years, 3 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') | no next file » | 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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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_TESTING_PROFILE_H_ 5 #ifndef CHROME_TEST_TESTING_PROFILE_H_
6 #define CHROME_TEST_TESTING_PROFILE_H_ 6 #define CHROME_TEST_TESTING_PROFILE_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/ref_counted.h" 9 #include "base/ref_counted.h"
10 #include "base/scoped_ptr.h" 10 #include "base/scoped_ptr.h"
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after
149 return NULL; 149 return NULL;
150 } 150 }
151 virtual PrefService* GetPrefs(); 151 virtual PrefService* GetPrefs();
152 virtual TemplateURLModel* GetTemplateURLModel() { 152 virtual TemplateURLModel* GetTemplateURLModel() {
153 return template_url_model_.get(); 153 return template_url_model_.get();
154 } 154 }
155 virtual TemplateURLFetcher* GetTemplateURLFetcher() { return NULL; } 155 virtual TemplateURLFetcher* GetTemplateURLFetcher() { return NULL; }
156 virtual history::TopSites* GetTopSites(); 156 virtual history::TopSites* GetTopSites();
157 virtual DownloadManager* GetDownloadManager() { return NULL; } 157 virtual DownloadManager* GetDownloadManager() { return NULL; }
158 virtual PersonalDataManager* GetPersonalDataManager() { return NULL; } 158 virtual PersonalDataManager* GetPersonalDataManager() { return NULL; }
159 virtual FileSystemHostContext* GetFileSystemHostContext() { return NULL; }
160 virtual bool HasCreatedDownloadManager() const { return false; } 159 virtual bool HasCreatedDownloadManager() const { return false; }
161 virtual void InitThemes(); 160 virtual void InitThemes();
162 virtual void SetTheme(Extension* extension) {} 161 virtual void SetTheme(Extension* extension) {}
163 virtual void SetNativeTheme() {} 162 virtual void SetNativeTheme() {}
164 virtual void ClearTheme() {} 163 virtual void ClearTheme() {}
165 virtual Extension* GetTheme() { return NULL; } 164 virtual Extension* GetTheme() { return NULL; }
166 virtual BrowserThemeProvider* GetThemeProvider() { 165 virtual BrowserThemeProvider* GetThemeProvider() {
167 InitThemes(); 166 InitThemes();
168 return theme_provider_.get(); 167 return theme_provider_.get();
169 } 168 }
(...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after
357 356
358 virtual ProfileId GetRuntimeId() { 357 virtual ProfileId GetRuntimeId() {
359 return original_profile_->GetRuntimeId(); 358 return original_profile_->GetRuntimeId();
360 } 359 }
361 360
362 protected: 361 protected:
363 Profile* original_profile_; 362 Profile* original_profile_;
364 }; 363 };
365 364
366 #endif // CHROME_TEST_TESTING_PROFILE_H_ 365 #endif // CHROME_TEST_TESTING_PROFILE_H_
OLDNEW
« no previous file with comments | « chrome/chrome_tests.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698