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

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

Issue 5633008: Remove BrowserFileSystemContext class (merge into SandboxedFSContext) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased Created 10 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
« no previous file with comments | « chrome/chrome_browser.gypi ('k') | webkit/fileapi/sandboxed_file_system_context.h » ('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) 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 182 matching lines...) Expand 10 before | Expand all | Expand 10 after
193 } 193 }
194 virtual TemplateURLFetcher* GetTemplateURLFetcher() { 194 virtual TemplateURLFetcher* GetTemplateURLFetcher() {
195 return template_url_fetcher_.get(); 195 return template_url_fetcher_.get();
196 } 196 }
197 virtual history::TopSites* GetTopSites(); 197 virtual history::TopSites* GetTopSites();
198 virtual history::TopSites* GetTopSitesWithoutCreating() { 198 virtual history::TopSites* GetTopSitesWithoutCreating() {
199 return top_sites_.get(); 199 return top_sites_.get();
200 } 200 }
201 virtual DownloadManager* GetDownloadManager() { return NULL; } 201 virtual DownloadManager* GetDownloadManager() { return NULL; }
202 virtual PersonalDataManager* GetPersonalDataManager() { return NULL; } 202 virtual PersonalDataManager* GetPersonalDataManager() { return NULL; }
203 virtual BrowserFileSystemContext* GetFileSystemContext() { return NULL; } 203 virtual fileapi::SandboxedFileSystemContext* GetFileSystemContext() {
204 return NULL;
205 }
204 virtual BrowserSignin* GetBrowserSignin() { return NULL; } 206 virtual BrowserSignin* GetBrowserSignin() { return NULL; }
205 virtual bool HasCreatedDownloadManager() const { return false; } 207 virtual bool HasCreatedDownloadManager() const { return false; }
206 virtual void InitThemes(); 208 virtual void InitThemes();
207 virtual void SetTheme(const Extension* extension) {} 209 virtual void SetTheme(const Extension* extension) {}
208 virtual void SetNativeTheme() {} 210 virtual void SetNativeTheme() {}
209 virtual void ClearTheme() {} 211 virtual void ClearTheme() {}
210 virtual const Extension* GetTheme() { return NULL; } 212 virtual const Extension* GetTheme() { return NULL; }
211 virtual BrowserThemeProvider* GetThemeProvider() { 213 virtual BrowserThemeProvider* GetThemeProvider() {
212 InitThemes(); 214 InitThemes();
213 return theme_provider_.get(); 215 return theme_provider_.get();
(...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after
435 437
436 virtual ProfileId GetRuntimeId() { 438 virtual ProfileId GetRuntimeId() {
437 return original_profile_->GetRuntimeId(); 439 return original_profile_->GetRuntimeId();
438 } 440 }
439 441
440 protected: 442 protected:
441 Profile* original_profile_; 443 Profile* original_profile_;
442 }; 444 };
443 445
444 #endif // CHROME_TEST_TESTING_PROFILE_H_ 446 #endif // CHROME_TEST_TESTING_PROFILE_H_
OLDNEW
« no previous file with comments | « chrome/chrome_browser.gypi ('k') | webkit/fileapi/sandboxed_file_system_context.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698