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

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

Issue 11689004: Move PromoResourceService from Profile to BrowserProcessImpl/local_state(). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: clang Created 7 years, 11 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 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/files/scoped_temp_dir.h" 10 #include "base/files/scoped_temp_dir.h"
(...skipping 241 matching lines...) Expand 10 before | Expand all | Expand 10 after
252 void set_last_session_exited_cleanly(bool value) { 252 void set_last_session_exited_cleanly(bool value) {
253 last_session_exited_cleanly_ = value; 253 last_session_exited_cleanly_ = value;
254 } 254 }
255 virtual void MergeResourceString(int message_id, 255 virtual void MergeResourceString(int message_id,
256 std::wstring* output_string) {} 256 std::wstring* output_string) {}
257 virtual void MergeResourceInteger(int message_id, int* output_value) {} 257 virtual void MergeResourceInteger(int message_id, int* output_value) {}
258 virtual void MergeResourceBoolean(int message_id, bool* output_value) {} 258 virtual void MergeResourceBoolean(int message_id, bool* output_value) {}
259 virtual bool IsSameProfile(Profile *p) OVERRIDE; 259 virtual bool IsSameProfile(Profile *p) OVERRIDE;
260 virtual base::Time GetStartTime() const OVERRIDE; 260 virtual base::Time GetStartTime() const OVERRIDE;
261 virtual ProtocolHandlerRegistry* GetProtocolHandlerRegistry() OVERRIDE; 261 virtual ProtocolHandlerRegistry* GetProtocolHandlerRegistry() OVERRIDE;
262 virtual void InitPromoResources() OVERRIDE {}
263 262
264 virtual FilePath last_selected_directory() OVERRIDE; 263 virtual FilePath last_selected_directory() OVERRIDE;
265 virtual void set_last_selected_directory(const FilePath& path) OVERRIDE; 264 virtual void set_last_selected_directory(const FilePath& path) OVERRIDE;
266 virtual bool WasCreatedByVersionOrLater(const std::string& version) OVERRIDE; 265 virtual bool WasCreatedByVersionOrLater(const std::string& version) OVERRIDE;
267 virtual void SetExitType(ExitType exit_type) OVERRIDE {} 266 virtual void SetExitType(ExitType exit_type) OVERRIDE {}
268 virtual ExitType GetLastSessionExitType() OVERRIDE; 267 virtual ExitType GetLastSessionExitType() OVERRIDE;
269 #if defined(OS_CHROMEOS) 268 #if defined(OS_CHROMEOS)
270 virtual void SetupChromeOSEnterpriseExtensionObserver() OVERRIDE { 269 virtual void SetupChromeOSEnterpriseExtensionObserver() OVERRIDE {
271 } 270 }
272 virtual void InitChromeOSPreferences() OVERRIDE { 271 virtual void InitChromeOSPreferences() OVERRIDE {
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
357 // testing. 356 // testing.
358 ProfileDependencyManager* profile_dependency_manager_; 357 ProfileDependencyManager* profile_dependency_manager_;
359 358
360 scoped_ptr<content::MockResourceContext> resource_context_; 359 scoped_ptr<content::MockResourceContext> resource_context_;
361 360
362 // Weak pointer to a delegate for indicating that a profile was created. 361 // Weak pointer to a delegate for indicating that a profile was created.
363 Delegate* delegate_; 362 Delegate* delegate_;
364 }; 363 };
365 364
366 #endif // CHROME_TEST_BASE_TESTING_PROFILE_H_ 365 #endif // CHROME_TEST_BASE_TESTING_PROFILE_H_
OLDNEW
« chrome/test/base/testing_browser_process.cc ('K') | « chrome/test/base/testing_browser_process.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698