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

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

Issue 328031: Refactor paste and go out of AutocompleteEdit. (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: style fixes Created 11 years, 1 month 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.gyp ('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) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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 7
8 #include "base/base_paths.h" 8 #include "base/base_paths.h"
9 #include "base/file_util.h" 9 #include "base/file_util.h"
10 #include "base/path_service.h" 10 #include "base/path_service.h"
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 } 91 }
92 virtual HistoryService* GetHistoryService(ServiceAccessType access) { 92 virtual HistoryService* GetHistoryService(ServiceAccessType access) {
93 return history_service_.get(); 93 return history_service_.get();
94 } 94 }
95 virtual HistoryService* GetHistoryServiceWithoutCreating() { 95 virtual HistoryService* GetHistoryServiceWithoutCreating() {
96 return history_service_.get(); 96 return history_service_.get();
97 } 97 }
98 void set_has_history_service(bool has_history_service) { 98 void set_has_history_service(bool has_history_service) {
99 has_history_service_ = has_history_service; 99 has_history_service_ = has_history_service;
100 } 100 }
101 virtual SearchVersusNavigateClassifier* GetSearchVersusNavigateClassifier() {
102 return NULL;
103 }
101 virtual WebDataService* GetWebDataService(ServiceAccessType access) { 104 virtual WebDataService* GetWebDataService(ServiceAccessType access) {
102 return NULL; 105 return NULL;
103 } 106 }
104 virtual WebDataService* GetWebDataServiceWithoutCreating() { 107 virtual WebDataService* GetWebDataServiceWithoutCreating() {
105 return NULL; 108 return NULL;
106 } 109 }
107 virtual PasswordStore* GetPasswordStore(ServiceAccessType access) { 110 virtual PasswordStore* GetPasswordStore(ServiceAccessType access) {
108 return NULL; 111 return NULL;
109 } 112 }
110 virtual PrefService* GetPrefs() { 113 virtual PrefService* GetPrefs() {
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after
243 246
244 virtual ProfileId GetRuntimeId() { 247 virtual ProfileId GetRuntimeId() {
245 return original_profile_->GetRuntimeId(); 248 return original_profile_->GetRuntimeId();
246 } 249 }
247 250
248 protected: 251 protected:
249 Profile* original_profile_; 252 Profile* original_profile_;
250 }; 253 };
251 254
252 #endif // CHROME_TEST_TESTING_PROFILE_H_ 255 #endif // CHROME_TEST_TESTING_PROFILE_H_
OLDNEW
« no previous file with comments | « chrome/chrome.gyp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698