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

Side by Side Diff: chrome/browser/component_updater/pnacl/pnacl_profile_observer.h

Issue 338403002: Remove pnacl_profile_observer from pnacl's use of component updater. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 6 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
(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 "base/compiler_specific.h"
9 #include "content/public/browser/notification_observer.h"
10 #include "content/public/browser/notification_registrar.h"
11
12 namespace component_updater {
13
14 class PnaclComponentInstaller;
15
16 // Monitors profile switching for ChromeOS to check the per-user
17 // version of PNaCl.
18 class PnaclProfileObserver : public content::NotificationObserver {
19 public:
20 explicit PnaclProfileObserver(PnaclComponentInstaller* installer);
21 virtual ~PnaclProfileObserver();
22
23 virtual void Observe(int type,
24 const content::NotificationSource& source,
25 const content::NotificationDetails& details) OVERRIDE;
26
27 private:
28 content::NotificationRegistrar registrar_;
29 PnaclComponentInstaller* pnacl_installer_;
30 DISALLOW_COPY_AND_ASSIGN(PnaclProfileObserver);
31 };
32
33 } // namespace component_updater
34
35 #endif // CHROME_BROWSER_COMPONENT_UPDATER_PNACL_PNACL_PROFILE_OBSERVER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698