Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef CHROME_BROWSER_COMPONENT_UPDATER_PNACL_PNACL_PROFILE_OBSERVER_H_ | |
| 6 #define CHROME_BROWSER_COMPONENT_UPDATER_PNACL_PNACL_PROFILE_OBSERVER_H_ | |
| 7 | |
| 8 #include "content/public/browser/notification_observer.h" | |
| 9 #include "content/public/browser/notification_registrar.h" | |
| 10 | |
| 11 class PnaclComponentInstaller; | |
| 12 | |
| 13 // Monitors profile switching for ChromeOS to check the per-user | |
| 14 // version of PNaCl. | |
| 15 class PnaclProfileObserver : public content::NotificationObserver { | |
| 16 public: | |
| 17 explicit PnaclProfileObserver(PnaclComponentInstaller* installer); | |
| 18 virtual ~PnaclProfileObserver(); | |
| 19 | |
| 20 virtual void Observe( | |
| 21 int type, | |
|
cpu_(ooo_6.6-7.5)
2013/04/03 21:56:27
indentation here I believe is 4 spaces
jvoung (off chromium)
2013/04/04 04:06:24
Done.
| |
| 22 const content::NotificationSource& source, | |
| 23 const content::NotificationDetails& details) OVERRIDE; | |
| 24 | |
| 25 private: | |
| 26 DISALLOW_COPY_AND_ASSIGN(PnaclProfileObserver); | |
|
cpu_(ooo_6.6-7.5)
2013/04/03 21:56:27
make the macro be at the end
jvoung (off chromium)
2013/04/04 04:06:24
Done.
| |
| 27 content::NotificationRegistrar registrar_; | |
| 28 PnaclComponentInstaller* pnacl_installer_; | |
| 29 }; | |
| 30 | |
| 31 #endif // CHROME_BROWSER_COMPONENT_UPDATER_PNACL_PNACL_PROFILE_OBSERVER_H_ | |
| OLD | NEW |