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

Side by Side Diff: chrome/browser/extensions/chrome_process_manager_delegate.h

Issue 415933003: Remove chrome::NOTIFICATION_PROFILE_DESTROYED usage from src/extensions (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: cleanup 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 #ifndef CHROME_BROWSER_EXTENSIONS_CHROME_PROCESS_MANAGER_DELEGATE_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_CHROME_PROCESS_MANAGER_DELEGATE_H_
6 #define CHROME_BROWSER_EXTENSIONS_CHROME_PROCESS_MANAGER_DELEGATE_H_ 6 #define CHROME_BROWSER_EXTENSIONS_CHROME_PROCESS_MANAGER_DELEGATE_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "base/macros.h" 9 #include "base/macros.h"
10 #include "content/public/browser/notification_observer.h" 10 #include "content/public/browser/notification_observer.h"
(...skipping 21 matching lines...) Expand all
32 32
33 // content::NotificationObserver implementation: 33 // content::NotificationObserver implementation:
34 virtual void Observe(int type, 34 virtual void Observe(int type,
35 const content::NotificationSource& source, 35 const content::NotificationSource& source,
36 const content::NotificationDetails& details) OVERRIDE; 36 const content::NotificationDetails& details) OVERRIDE;
37 37
38 private: 38 private:
39 // Notification handlers. 39 // Notification handlers.
40 void OnBrowserWindowReady(Browser* browser); 40 void OnBrowserWindowReady(Browser* browser);
41 void OnProfileCreated(Profile* profile); 41 void OnProfileCreated(Profile* profile);
42 void OnProfileDestroyed(Profile* profile);
42 43
43 content::NotificationRegistrar registrar_; 44 content::NotificationRegistrar registrar_;
44 45
45 DISALLOW_COPY_AND_ASSIGN(ChromeProcessManagerDelegate); 46 DISALLOW_COPY_AND_ASSIGN(ChromeProcessManagerDelegate);
46 }; 47 };
47 48
48 } // namespace extensions 49 } // namespace extensions
49 50
50 #endif // CHROME_BROWSER_EXTENSIONS_CHROME_PROCESS_MANAGER_DELEGATE_H_ 51 #endif // CHROME_BROWSER_EXTENSIONS_CHROME_PROCESS_MANAGER_DELEGATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698