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

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

Issue 18263: Move search engines files into subdir (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 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
« no previous file with comments | « chrome/browser/webdata/web_database_unittest.cc ('k') | chrome/test/unit/unittests.vcproj » ('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) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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/path_service.h" 9 #include "base/path_service.h"
10 #include "base/file_util.h" 10 #include "base/file_util.h"
11 #include "chrome/browser/bookmarks/bookmark_model.h" 11 #include "chrome/browser/bookmarks/bookmark_model.h"
12 #include "chrome/browser/browser_prefs.h" 12 #include "chrome/browser/browser_prefs.h"
13 #include "chrome/browser/history/history.h" 13 #include "chrome/browser/history/history.h"
14 #include "chrome/browser/profile.h" 14 #include "chrome/browser/profile.h"
15 #include "chrome/browser/search_engines/template_url_model.h"
15 #include "chrome/browser/sessions/session_service.h" 16 #include "chrome/browser/sessions/session_service.h"
16 #include "chrome/browser/template_url_model.h"
17 #include "chrome/common/pref_service.h" 17 #include "chrome/common/pref_service.h"
18 18
19 class TestingProfile : public Profile { 19 class TestingProfile : public Profile {
20 public: 20 public:
21 TestingProfile(); 21 TestingProfile();
22 // Creates a new profile by adding |count| to the end of the path. Use this 22 // Creates a new profile by adding |count| to the end of the path. Use this
23 // when you need to have more than one TestingProfile running at the same 23 // when you need to have more than one TestingProfile running at the same
24 // time. 24 // time.
25 explicit TestingProfile(int count); 25 explicit TestingProfile(int count);
26 virtual ~TestingProfile(); 26 virtual ~TestingProfile();
(...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after
201 201
202 std::wstring id_; 202 std::wstring id_;
203 203
204 bool off_the_record_; 204 bool off_the_record_;
205 205
206 // Did the last session exit cleanly? Default is true. 206 // Did the last session exit cleanly? Default is true.
207 bool last_session_exited_cleanly_; 207 bool last_session_exited_cleanly_;
208 }; 208 };
209 209
210 #endif // CHROME_TEST_TESTING_PROFILE_H__ 210 #endif // CHROME_TEST_TESTING_PROFILE_H__
OLDNEW
« no previous file with comments | « chrome/browser/webdata/web_database_unittest.cc ('k') | chrome/test/unit/unittests.vcproj » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698