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

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

Issue 22794012: Rename extension_manifest_keys namespace to extensions::manifest_keys. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 4 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 "chrome/browser/extensions/extension_sorting.h" 5 #include "chrome/browser/extensions/extension_sorting.h"
6 6
7 #include <map> 7 #include <map>
8 8
9 #include "chrome/browser/extensions/extension_prefs_unittest.h" 9 #include "chrome/browser/extensions/extension_prefs_unittest.h"
10 #include "chrome/common/extensions/extension_manifest_constants.h" 10 #include "extensions/common/manifest_constants.h"
11 #include "sync/api/string_ordinal.h" 11 #include "sync/api/string_ordinal.h"
12 #include "testing/gtest/include/gtest/gtest.h" 12 #include "testing/gtest/include/gtest/gtest.h"
13 13
14 using extensions::Blacklist; 14 using extensions::Blacklist;
15 using extensions::Extension; 15 using extensions::Extension;
16 using extensions::Manifest; 16 using extensions::Manifest;
17 17
18 namespace keys = extension_manifest_keys; 18 namespace keys = extensions::manifest_keys;
19 19
20 class ExtensionSortingTest : public extensions::ExtensionPrefsTest { 20 class ExtensionSortingTest : public extensions::ExtensionPrefsTest {
21 protected: 21 protected:
22 ExtensionSorting* extension_sorting() { 22 ExtensionSorting* extension_sorting() {
23 return prefs()->extension_sorting(); 23 return prefs()->extension_sorting();
24 } 24 }
25 }; 25 };
26 26
27 class ExtensionSortingAppLocation : public ExtensionSortingTest { 27 class ExtensionSortingAppLocation : public ExtensionSortingTest {
28 public: 28 public:
(...skipping 937 matching lines...) Expand 10 before | Expand all | Expand 10 after
966 extension_sorting->SetAppLaunchOrdinal(yet_another_app_->id(), 966 extension_sorting->SetAppLaunchOrdinal(yet_another_app_->id(),
967 default_app_launch_ordinal_); 967 default_app_launch_ordinal_);
968 } 968 }
969 969
970 private: 970 private:
971 scoped_refptr<Extension> other_app_; 971 scoped_refptr<Extension> other_app_;
972 scoped_refptr<Extension> yet_another_app_; 972 scoped_refptr<Extension> yet_another_app_;
973 }; 973 };
974 TEST_F(ExtensionSortingDefaultOrdinalNoCollision, 974 TEST_F(ExtensionSortingDefaultOrdinalNoCollision,
975 ExtensionSortingDefaultOrdinalNoCollision) {} 975 ExtensionSortingDefaultOrdinalNoCollision) {}
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698