Index: chrome/browser/component_updater/pnacl/pnacl_updater_observer.h |
diff --git a/chrome/browser/component_updater/pnacl/pnacl_profile_observer.h b/chrome/browser/component_updater/pnacl/pnacl_updater_observer.h |
similarity index 53% |
copy from chrome/browser/component_updater/pnacl/pnacl_profile_observer.h |
copy to chrome/browser/component_updater/pnacl/pnacl_updater_observer.h |
index 52ab9847dc1407dc2a66e8e3e6de445d262f8cee..f76668328bd25b21ecc345eb5be5671815fcbfe9 100644 |
--- a/chrome/browser/component_updater/pnacl/pnacl_profile_observer.h |
+++ b/chrome/browser/component_updater/pnacl/pnacl_updater_observer.h |
@@ -2,20 +2,20 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-#ifndef CHROME_BROWSER_COMPONENT_UPDATER_PNACL_PNACL_PROFILE_OBSERVER_H_ |
-#define CHROME_BROWSER_COMPONENT_UPDATER_PNACL_PNACL_PROFILE_OBSERVER_H_ |
+#ifndef CHROME_BROWSER_COMPONENT_UPDATER_PNACL_PNACL_UPDATER_OBSERVER_H_ |
+#define CHROME_BROWSER_COMPONENT_UPDATER_PNACL_PNACL_UPDATER_OBSERVER_H_ |
#include "content/public/browser/notification_observer.h" |
#include "content/public/browser/notification_registrar.h" |
class PnaclComponentInstaller; |
-// Monitors profile switching for ChromeOS to check the per-user |
-// version of PNaCl. |
-class PnaclProfileObserver : public content::NotificationObserver { |
+// Monitors the component updater service, so that the callbacks registered |
+// against the PnaclComponentInstaller can be notified of events. |
+class PnaclUpdaterObserver : public content::NotificationObserver { |
public: |
- explicit PnaclProfileObserver(PnaclComponentInstaller* installer); |
- virtual ~PnaclProfileObserver(); |
+ explicit PnaclUpdaterObserver(PnaclComponentInstaller* installer); |
+ virtual ~PnaclUpdaterObserver(); |
virtual void Observe( |
int type, |
@@ -25,7 +25,7 @@ class PnaclProfileObserver : public content::NotificationObserver { |
private: |
content::NotificationRegistrar registrar_; |
PnaclComponentInstaller* pnacl_installer_; |
- DISALLOW_COPY_AND_ASSIGN(PnaclProfileObserver); |
+ DISALLOW_COPY_AND_ASSIGN(PnaclUpdaterObserver); |
}; |
-#endif // CHROME_BROWSER_COMPONENT_UPDATER_PNACL_PNACL_PROFILE_OBSERVER_H_ |
+#endif // CHROME_BROWSER_COMPONENT_UPDATER_PNACL_PNACL_UPDATER_OBSERVER_H_ |