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

Side by Side Diff: chrome/browser/extensions/api/preference/preference_api_prefs_unittest.cc

Issue 15239002: Move Extension and PermissionsData to extensions/common. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 1 month 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 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
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
OLDNEW
« no previous file with comments | « chrome/browser/extensions/api/power/power_api_unittest.cc ('k') | chrome/browser/extensions/api/proxy/proxy_apitest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698