OLD | NEW |
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/bookmark_bar_model.h" | 11 #include "chrome/browser/bookmarks/bookmark_bar_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/template_url_model.h" | 15 #include "chrome/browser/template_url_model.h" |
16 #include "chrome/common/pref_service.h" | 16 #include "chrome/common/pref_service.h" |
17 | 17 |
18 class TestingProfile : public Profile { | 18 class TestingProfile : public Profile { |
19 public: | 19 public: |
20 TestingProfile(); | 20 TestingProfile(); |
21 virtual ~TestingProfile(); | 21 virtual ~TestingProfile(); |
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
179 | 179 |
180 // The TemplateURLFetcher. Only created if CreateTemplateURLModel is invoked. | 180 // The TemplateURLFetcher. Only created if CreateTemplateURLModel is invoked. |
181 scoped_ptr<TemplateURLModel> template_url_model_; | 181 scoped_ptr<TemplateURLModel> template_url_model_; |
182 | 182 |
183 // Do we have a history service? This defaults to the value of | 183 // Do we have a history service? This defaults to the value of |
184 // history_service, but can be explicitly set. | 184 // history_service, but can be explicitly set. |
185 bool has_history_service_; | 185 bool has_history_service_; |
186 }; | 186 }; |
187 | 187 |
188 #endif // CHROME_TEST_TESTING_PROFILE_H__ | 188 #endif // CHROME_TEST_TESTING_PROFILE_H__ |
OLD | NEW |