| 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 54%
|
| copy from chrome/browser/component_updater/pnacl/pnacl_profile_observer.h
|
| copy to chrome/browser/component_updater/pnacl/pnacl_updater_observer.h
|
| index 18ef4e804360e63f9b9c19680974a521c7b9567f..48a6f0d9c81cbceb527da5478be4d0220ec1638f 100644
|
| --- a/chrome/browser/component_updater/pnacl/pnacl_profile_observer.h
|
| +++ b/chrome/browser/component_updater/pnacl/pnacl_updater_observer.h
|
| @@ -2,8 +2,8 @@
|
| // 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 "base/compiler_specific.h"
|
| #include "content/public/browser/notification_observer.h"
|
| @@ -11,12 +11,12 @@
|
|
|
| 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,
|
| @@ -26,7 +26,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_
|
|
|