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

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

Issue 6625076: Removing references to off the record in comments and log messages. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 9 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/plugin/plugin_channel.h ('k') | chrome/test/ui_test_utils.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) 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_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 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
123 // profile is destroyed. 123 // profile is destroyed.
124 ExtensionService* CreateExtensionService(const CommandLine* command_line, 124 ExtensionService* CreateExtensionService(const CommandLine* command_line,
125 const FilePath& install_directory); 125 const FilePath& install_directory);
126 126
127 TestingPrefService* GetTestingPrefService(); 127 TestingPrefService* GetTestingPrefService();
128 128
129 virtual ProfileId GetRuntimeId(); 129 virtual ProfileId GetRuntimeId();
130 130
131 virtual FilePath GetPath(); 131 virtual FilePath GetPath();
132 132
133 // Sets whether we're off the record. Default is false. 133 // Sets whether we're incognito. Default is false.
134 void set_off_the_record(bool off_the_record) { 134 void set_off_the_record(bool off_the_record) {
135 off_the_record_ = off_the_record; 135 off_the_record_ = off_the_record;
136 } 136 }
137 virtual bool IsOffTheRecord(); 137 virtual bool IsOffTheRecord();
138 // Assumes ownership. 138 // Assumes ownership.
139 virtual void SetOffTheRecordProfile(Profile* profile); 139 virtual void SetOffTheRecordProfile(Profile* profile);
140 virtual Profile* GetOffTheRecordProfile(); 140 virtual Profile* GetOffTheRecordProfile();
141 141
142 virtual void DestroyOffTheRecordProfile() {} 142 virtual void DestroyOffTheRecordProfile() {}
143 143
(...skipping 271 matching lines...) Expand 10 before | Expand all | Expand 10 after
415 explicit DerivedTestingProfile(Profile* profile); 415 explicit DerivedTestingProfile(Profile* profile);
416 virtual ~DerivedTestingProfile(); 416 virtual ~DerivedTestingProfile();
417 417
418 virtual ProfileId GetRuntimeId(); 418 virtual ProfileId GetRuntimeId();
419 419
420 protected: 420 protected:
421 Profile* original_profile_; 421 Profile* original_profile_;
422 }; 422 };
423 423
424 #endif // CHROME_TEST_TESTING_PROFILE_H_ 424 #endif // CHROME_TEST_TESTING_PROFILE_H_
OLDNEW
« no previous file with comments | « chrome/plugin/plugin_channel.h ('k') | chrome/test/ui_test_utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698