Chromium Code Reviews| Index: chrome/test/testing_profile.h |
| diff --git a/chrome/test/testing_profile.h b/chrome/test/testing_profile.h |
| index 847093eff58ff17a0fd46882ea0910413a1faf1d..428b992d0c3df77316228605d0acc61876b6805d 100644 |
| --- a/chrome/test/testing_profile.h |
| +++ b/chrome/test/testing_profile.h |
| @@ -1,4 +1,4 @@ |
| -// Copyright (c) 2010 The Chromium Authors. All rights reserved. |
| +// Copyright (c) 2011 The Chromium Authors. All rights reserved. |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| @@ -115,9 +115,8 @@ class TestingProfile : public Profile { |
| // returns it. The profile keeps its own copy of a scoped_refptr to the |
| // ExtensionService to make sure that is still alive to be notified when the |
| // profile is destroyed. |
| - scoped_refptr<ExtensionService> CreateExtensionService( |
| - const CommandLine* command_line, |
| - const FilePath& install_directory); |
| + ExtensionService* CreateExtensionService(const CommandLine* command_line, |
|
Mattias Nissler (ping if slow)
2011/01/05 12:08:07
What's the reason from making this refcounted?
battre
2011/01/05 20:23:08
n/a
|
| + const FilePath& install_directory); |
| TestingPrefService* GetTestingPrefService(); |
| @@ -409,9 +408,6 @@ class TestingProfile : public Profile { |
| FilePath last_selected_directory_; |
| scoped_refptr<history::TopSites> top_sites_; // For history and thumbnails. |
| - // Extension pref store, created for use by |extension_prefs_|. |
| - scoped_ptr<ExtensionPrefStore> extension_pref_store_; |
| - |
| // The Extension Preferences. Only created if CreateExtensionService is |
| // invoked. |
| scoped_ptr<ExtensionPrefs> extension_prefs_; |