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

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

Issue 5783006: Cleanup: Remove unneeded includes of notification_service.h in other headers.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years 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 "chrome/browser/extensions/extension_menu_manager.h" 5 #include "chrome/browser/extensions/extension_menu_manager.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 8
9 #include "app/l10n_util.h" 9 #include "app/l10n_util.h"
10 #include "base/logging.h" 10 #include "base/logging.h"
11 #include "base/stl_util-inl.h" 11 #include "base/stl_util-inl.h"
12 #include "base/string_util.h" 12 #include "base/string_util.h"
13 #include "base/utf_string_conversions.h" 13 #include "base/utf_string_conversions.h"
14 #include "base/values.h" 14 #include "base/values.h"
15 #include "base/json/json_writer.h" 15 #include "base/json/json_writer.h"
16 #include "chrome/browser/extensions/extension_event_router.h" 16 #include "chrome/browser/extensions/extension_event_router.h"
17 #include "chrome/browser/extensions/extension_tabs_module.h" 17 #include "chrome/browser/extensions/extension_tabs_module.h"
18 #include "chrome/browser/profiles/profile.h" 18 #include "chrome/browser/profiles/profile.h"
19 #include "chrome/common/extensions/extension.h" 19 #include "chrome/common/extensions/extension.h"
20 #include "chrome/common/notification_service.h"
20 #include "gfx/favicon_size.h" 21 #include "gfx/favicon_size.h"
21 #include "webkit/glue/context_menu.h" 22 #include "webkit/glue/context_menu.h"
22 23
23 ExtensionMenuItem::ExtensionMenuItem(const Id& id, 24 ExtensionMenuItem::ExtensionMenuItem(const Id& id,
24 std::string title, 25 std::string title,
25 bool checked, 26 bool checked,
26 Type type, 27 Type type,
27 const ContextList& contexts) 28 const ContextList& contexts)
28 : id_(id), 29 : id_(id),
29 title_(title), 30 title_(title),
(...skipping 464 matching lines...) Expand 10 before | Expand all | Expand 10 after
494 if (profile < other.profile) 495 if (profile < other.profile)
495 return true; 496 return true;
496 if (profile == other.profile) { 497 if (profile == other.profile) {
497 if (extension_id < other.extension_id) 498 if (extension_id < other.extension_id)
498 return true; 499 return true;
499 if (extension_id == other.extension_id) 500 if (extension_id == other.extension_id)
500 return uid < other.uid; 501 return uid < other.uid;
501 } 502 }
502 return false; 503 return false;
503 } 504 }
OLDNEW
« no previous file with comments | « chrome/browser/extensions/extension_function_dispatcher.cc ('k') | chrome/browser/extensions/extension_messages_apitest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698