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

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

Issue 147923005: Split ExtensionSystem interface from ExtensionSystemImpl implementation, part 1. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: re^3base Created 6 years, 10 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 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 "chrome/browser/extensions/chrome_notification_observer.h" 5 #include "chrome/browser/extensions/chrome_notification_observer.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "chrome/browser/chrome_notification_types.h" 8 #include "chrome/browser/chrome_notification_types.h"
9 #include "chrome/browser/extensions/extension_system.h"
10 #include "chrome/browser/profiles/profile.h" 9 #include "chrome/browser/profiles/profile.h"
11 #include "chrome/browser/ui/browser.h" 10 #include "chrome/browser/ui/browser.h"
12 #include "content/public/browser/notification_service.h" 11 #include "content/public/browser/notification_service.h"
12 #include "extensions/browser/extension_system.h"
13 #include "extensions/browser/process_manager.h" 13 #include "extensions/browser/process_manager.h"
14 14
15 namespace extensions { 15 namespace extensions {
16 16
17 ChromeNotificationObserver::ChromeNotificationObserver() { 17 ChromeNotificationObserver::ChromeNotificationObserver() {
18 // Notifications for extensions::ProcessManager 18 // Notifications for extensions::ProcessManager
19 registrar_.Add(this, chrome::NOTIFICATION_BROWSER_WINDOW_READY, 19 registrar_.Add(this, chrome::NOTIFICATION_BROWSER_WINDOW_READY,
20 content::NotificationService::AllSources()); 20 content::NotificationService::AllSources());
21 } 21 }
22 22
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 OnBrowserWindowReady(browser); 59 OnBrowserWindowReady(browser);
60 break; 60 break;
61 } 61 }
62 62
63 default: 63 default:
64 NOTREACHED(); 64 NOTREACHED();
65 } 65 }
66 } 66 }
67 67
68 } // namespace extensions 68 } // namespace extensions
OLDNEW
« no previous file with comments | « chrome/browser/extensions/chrome_extensions_browser_client.cc ('k') | chrome/browser/extensions/context_menu_matcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698