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

Side by Side Diff: chrome/browser/extensions/api/management/management_api.cc

Issue 345693002: Extensions: Split extensions utility IPC messages into its own file. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: disable another test Created 6 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 | 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/api/management/management_api.h" 5 #include "chrome/browser/extensions/api/management/management_api.h"
6 6
7 #include <string> 7 #include <string>
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 14 matching lines...) Expand all
25 #include "chrome/browser/extensions/launch_util.h" 25 #include "chrome/browser/extensions/launch_util.h"
26 #include "chrome/browser/favicon/favicon_service_factory.h" 26 #include "chrome/browser/favicon/favicon_service_factory.h"
27 #include "chrome/browser/profiles/profile.h" 27 #include "chrome/browser/profiles/profile.h"
28 #include "chrome/browser/ui/browser_dialogs.h" 28 #include "chrome/browser/ui/browser_dialogs.h"
29 #include "chrome/browser/ui/browser_finder.h" 29 #include "chrome/browser/ui/browser_finder.h"
30 #include "chrome/browser/ui/browser_window.h" 30 #include "chrome/browser/ui/browser_window.h"
31 #include "chrome/browser/ui/extensions/application_launch.h" 31 #include "chrome/browser/ui/extensions/application_launch.h"
32 #include "chrome/browser/ui/webui/extensions/extension_icon_source.h" 32 #include "chrome/browser/ui/webui/extensions/extension_icon_source.h"
33 #include "chrome/browser/ui/webui/ntp/core_app_launcher_handler.h" 33 #include "chrome/browser/ui/webui/ntp/core_app_launcher_handler.h"
34 #include "chrome/common/chrome_switches.h" 34 #include "chrome/common/chrome_switches.h"
35 #include "chrome/common/chrome_utility_messages.h"
36 #include "chrome/common/extensions/api/management.h" 35 #include "chrome/common/extensions/api/management.h"
36 #include "chrome/common/extensions/chrome_utility_extensions_messages.h"
37 #include "chrome/common/extensions/extension_constants.h" 37 #include "chrome/common/extensions/extension_constants.h"
38 #include "chrome/common/extensions/manifest_handlers/app_launch_info.h" 38 #include "chrome/common/extensions/manifest_handlers/app_launch_info.h"
39 #include "chrome/common/extensions/manifest_url_handler.h" 39 #include "chrome/common/extensions/manifest_url_handler.h"
40 #include "content/public/browser/utility_process_host.h" 40 #include "content/public/browser/utility_process_host.h"
41 #include "content/public/browser/utility_process_host_client.h" 41 #include "content/public/browser/utility_process_host_client.h"
42 #include "extensions/browser/event_router.h" 42 #include "extensions/browser/event_router.h"
43 #include "extensions/browser/extension_prefs.h" 43 #include "extensions/browser/extension_prefs.h"
44 #include "extensions/browser/extension_registry.h" 44 #include "extensions/browser/extension_registry.h"
45 #include "extensions/browser/extension_system.h" 45 #include "extensions/browser/extension_system.h"
46 #include "extensions/browser/management_policy.h" 46 #include "extensions/browser/management_policy.h"
(...skipping 953 matching lines...) Expand 10 before | Expand all | Expand 10 after
1000 ManagementAPI::GetFactoryInstance() { 1000 ManagementAPI::GetFactoryInstance() {
1001 return g_factory.Pointer(); 1001 return g_factory.Pointer();
1002 } 1002 }
1003 1003
1004 void ManagementAPI::OnListenerAdded(const EventListenerInfo& details) { 1004 void ManagementAPI::OnListenerAdded(const EventListenerInfo& details) {
1005 management_event_router_.reset(new ManagementEventRouter(browser_context_)); 1005 management_event_router_.reset(new ManagementEventRouter(browser_context_));
1006 EventRouter::Get(browser_context_)->UnregisterObserver(this); 1006 EventRouter::Get(browser_context_)->UnregisterObserver(this);
1007 } 1007 }
1008 1008
1009 } // namespace extensions 1009 } // namespace extensions
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698