OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 <string> | 5 #include <string> |
6 | 6 |
7 #include "base/memory/ref_counted.h" | 7 #include "base/memory/ref_counted.h" |
8 #include "base/memory/scoped_ptr.h" | 8 #include "base/memory/scoped_ptr.h" |
9 #include "base/prefs/mock_pref_change_callback.h" | 9 #include "base/prefs/mock_pref_change_callback.h" |
10 #include "base/values.h" | 10 #include "base/values.h" |
11 #include "chrome/browser/extensions/api/preference/preference_api.h" | 11 #include "chrome/browser/extensions/api/preference/preference_api.h" |
12 #include "chrome/browser/extensions/extension_prefs.h" | 12 #include "chrome/browser/extensions/extension_prefs.h" |
13 #include "chrome/browser/extensions/extension_prefs_unittest.h" | 13 #include "chrome/browser/extensions/extension_prefs_unittest.h" |
14 #include "chrome/common/extensions/extension.h" | |
15 #include "chrome/test/base/testing_profile.h" | 14 #include "chrome/test/base/testing_profile.h" |
16 #include "components/user_prefs/pref_registry_syncable.h" | 15 #include "components/user_prefs/pref_registry_syncable.h" |
| 16 #include "extensions/common/extension.h" |
17 #include "testing/gtest/include/gtest/gtest.h" | 17 #include "testing/gtest/include/gtest/gtest.h" |
18 | 18 |
19 using base::Value; | 19 using base::Value; |
20 | 20 |
21 namespace extensions { | 21 namespace extensions { |
22 | 22 |
23 namespace { | 23 namespace { |
24 | 24 |
25 const char kPref1[] = "path1.subpath"; | 25 const char kPref1[] = "path1.subpath"; |
26 const char kPref2[] = "path2"; | 26 const char kPref2[] = "path2"; |
(...skipping 431 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
458 EXPECT_EQ(kDefaultPref1, actual); | 458 EXPECT_EQ(kDefaultPref1, actual); |
459 } | 459 } |
460 } | 460 } |
461 | 461 |
462 private: | 462 private: |
463 int iteration_; | 463 int iteration_; |
464 }; | 464 }; |
465 TEST_F(ControlledPrefsDisableExtensions, ControlledPrefsDisableExtensions) { } | 465 TEST_F(ControlledPrefsDisableExtensions, ControlledPrefsDisableExtensions) { } |
466 | 466 |
467 } // namespace extensions | 467 } // namespace extensions |
OLD | NEW |