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

Side by Side Diff: chrome/browser/extensions/extension_prefs_unittest.cc

Issue 6335001: Cleanup: Remove unneeded chrome/browser/prefs/pref_service.h usage.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 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
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 #include "base/message_loop.h" 5 #include "base/message_loop.h"
6 #include "base/path_service.h" 6 #include "base/path_service.h"
7 #include "base/scoped_temp_dir.h" 7 #include "base/scoped_temp_dir.h"
8 #include "base/stl_util-inl.h" 8 #include "base/stl_util-inl.h"
9 #include "base/string_number_conversions.h" 9 #include "base/string_number_conversions.h"
10 #include "base/stringprintf.h" 10 #include "base/stringprintf.h"
11 #include "chrome/browser/extensions/extension_prefs.h" 11 #include "chrome/browser/extensions/extension_prefs.h"
12 #include "chrome/browser/extensions/test_extension_prefs.h" 12 #include "chrome/browser/extensions/test_extension_prefs.h"
13 #include "chrome/browser/prefs/pref_change_registrar.h" 13 #include "chrome/browser/prefs/pref_change_registrar.h"
14 #include "chrome/browser/prefs/pref_service.h"
15 #include "chrome/common/chrome_paths.h" 14 #include "chrome/common/chrome_paths.h"
16 #include "chrome/common/extensions/extension_constants.h" 15 #include "chrome/common/extensions/extension_constants.h"
17 #include "chrome/common/notification_details.h" 16 #include "chrome/common/notification_details.h"
18 #include "chrome/common/notification_observer_mock.h" 17 #include "chrome/common/notification_observer_mock.h"
19 #include "chrome/common/notification_source.h" 18 #include "chrome/common/notification_source.h"
20 #include "testing/gtest/include/gtest/gtest.h" 19 #include "testing/gtest/include/gtest/gtest.h"
21 20
22 using base::Time; 21 using base::Time;
23 using base::TimeDelta; 22 using base::TimeDelta;
24 23
(...skipping 860 matching lines...) Expand 10 before | Expand all | Expand 10 after
885 EXPECT_CALL(*v1, Die()).Times(1); 884 EXPECT_CALL(*v1, Die()).Times(1);
886 InstallExtControlledPref(ext1_, kPref1, v2); 885 InstallExtControlledPref(ext1_, kPref1, v2);
887 prefs_.RecreateExtensionPrefs(); 886 prefs_.RecreateExtensionPrefs();
888 } 887 }
889 888
890 virtual void Verify() { 889 virtual void Verify() {
891 } 890 }
892 }; 891 };
893 TEST_F(ExtensionPrefsSetExtensionControlledPref, 892 TEST_F(ExtensionPrefsSetExtensionControlledPref,
894 ExtensionPrefsSetExtensionControlledPref) {} 893 ExtensionPrefsSetExtensionControlledPref) {}
OLDNEW
« no previous file with comments | « chrome/browser/extensions/extension_host.cc ('k') | chrome/browser/history/in_memory_history_backend.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698