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

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

Issue 10626007: Move ExtensionSystem into extensions namespace (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Master merge; moved class declaration Created 8 years, 5 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
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/menu_manager.h" 5 #include "chrome/browser/extensions/menu_manager.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 8
9 #include "base/json/json_writer.h" 9 #include "base/json/json_writer.h"
10 #include "base/logging.h" 10 #include "base/logging.h"
(...skipping 13 matching lines...) Expand all
24 #include "chrome/common/chrome_notification_types.h" 24 #include "chrome/common/chrome_notification_types.h"
25 #include "chrome/common/extensions/extension.h" 25 #include "chrome/common/extensions/extension.h"
26 #include "content/public/browser/notification_details.h" 26 #include "content/public/browser/notification_details.h"
27 #include "content/public/browser/notification_source.h" 27 #include "content/public/browser/notification_source.h"
28 #include "content/public/browser/web_contents.h" 28 #include "content/public/browser/web_contents.h"
29 #include "content/public/common/context_menu_params.h" 29 #include "content/public/common/context_menu_params.h"
30 #include "ui/base/text/text_elider.h" 30 #include "ui/base/text/text_elider.h"
31 #include "ui/gfx/favicon_size.h" 31 #include "ui/gfx/favicon_size.h"
32 32
33 using content::WebContents; 33 using content::WebContents;
34 using extensions::ExtensionSystem;
34 35
35 namespace extensions { 36 namespace extensions {
36 37
37 namespace { 38 namespace {
38 39
39 // Keys for serialization to and from Value to store in the preferences. 40 // Keys for serialization to and from Value to store in the preferences.
40 const char kContextMenusKey[] = "context_menus"; 41 const char kContextMenusKey[] = "context_menus";
41 42
42 const char kCheckedKey[] = "checked"; 43 const char kCheckedKey[] = "checked";
43 const char kContextsKey[] = "contexts"; 44 const char kContextsKey[] = "contexts";
(...skipping 772 matching lines...) Expand 10 before | Expand all | Expand 10 after
816 if (uid < other.uid) 817 if (uid < other.uid)
817 return true; 818 return true;
818 if (uid == other.uid) 819 if (uid == other.uid)
819 return string_uid < other.string_uid; 820 return string_uid < other.string_uid;
820 } 821 }
821 } 822 }
822 return false; 823 return false;
823 } 824 }
824 825
825 } // namespace extensions 826 } // namespace extensions
OLDNEW
« no previous file with comments | « chrome/browser/extensions/installed_loader.cc ('k') | chrome/browser/extensions/platform_app_launcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698