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

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

Issue 223027: Convert the BrowerThemeProvider pointer from being ref counted to (Closed)
Patch Set: Created 11 years, 2 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
« no previous file with comments | « chrome/browser/profile.cc ('k') | chrome/test/testing_profile.cc » ('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/file_util.h" 9 #include "base/file_util.h"
10 #include "base/path_service.h" 10 #include "base/path_service.h"
(...skipping 252 matching lines...) Expand 10 before | Expand all | Expand 10 after
263 // The BookmarkModel. Only created if CreateBookmarkModel is invoked. 263 // The BookmarkModel. Only created if CreateBookmarkModel is invoked.
264 scoped_ptr<BookmarkModel> bookmark_bar_model_; 264 scoped_ptr<BookmarkModel> bookmark_bar_model_;
265 265
266 // The TemplateURLFetcher. Only created if CreateTemplateURLModel is invoked. 266 // The TemplateURLFetcher. Only created if CreateTemplateURLModel is invoked.
267 scoped_ptr<TemplateURLModel> template_url_model_; 267 scoped_ptr<TemplateURLModel> template_url_model_;
268 268
269 // The SessionService. Defaults to NULL, but can be set using the setter. 269 // The SessionService. Defaults to NULL, but can be set using the setter.
270 scoped_refptr<SessionService> session_service_; 270 scoped_refptr<SessionService> session_service_;
271 271
272 // The theme provider. Created lazily by GetThemeProvider()/InitThemes(). 272 // The theme provider. Created lazily by GetThemeProvider()/InitThemes().
273 scoped_refptr<BrowserThemeProvider> theme_provider_; 273 scoped_ptr<BrowserThemeProvider> theme_provider_;
274 bool created_theme_provider_; 274 bool created_theme_provider_;
275 275
276 // Do we have a history service? This defaults to the value of 276 // Do we have a history service? This defaults to the value of
277 // history_service, but can be explicitly set. 277 // history_service, but can be explicitly set.
278 bool has_history_service_; 278 bool has_history_service_;
279 279
280 std::wstring id_; 280 std::wstring id_;
281 281
282 bool off_the_record_; 282 bool off_the_record_;
283 283
284 // Did the last session exit cleanly? Default is true. 284 // Did the last session exit cleanly? Default is true.
285 bool last_session_exited_cleanly_; 285 bool last_session_exited_cleanly_;
286 }; 286 };
287 287
288 #endif // CHROME_TEST_TESTING_PROFILE_H_ 288 #endif // CHROME_TEST_TESTING_PROFILE_H_
OLDNEW
« no previous file with comments | « chrome/browser/profile.cc ('k') | chrome/test/testing_profile.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698