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

Unified Diff: chrome/browser/component_updater/pnacl/pnacl_updater_observer.h

Issue 55463002: Remove PNaCl's RequestFirstInstall, use resource throttle instead (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: reorder functions Created 7 years, 1 month 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/component_updater/pnacl/pnacl_updater_observer.h
diff --git a/chrome/browser/component_updater/pnacl/pnacl_updater_observer.h b/chrome/browser/component_updater/pnacl/pnacl_updater_observer.h
deleted file mode 100644
index aa00ca2bf5057e364f517b003384cf35beb9f4d7..0000000000000000000000000000000000000000
--- a/chrome/browser/component_updater/pnacl/pnacl_updater_observer.h
+++ /dev/null
@@ -1,31 +0,0 @@
-// Copyright (c) 2013 The Chromium Authors. All rights reserved.
-// 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_UPDATER_OBSERVER_H_
-#define CHROME_BROWSER_COMPONENT_UPDATER_PNACL_PNACL_UPDATER_OBSERVER_H_
-
-#include "base/compiler_specific.h"
-#include "chrome/browser/component_updater/component_updater_service.h"
-
-class PnaclComponentInstaller;
-
-// Monitors the component updater service, so that the callbacks registered
-// against the PnaclComponentInstaller can be notified of events.
-class PnaclUpdaterObserver : public ComponentObserver {
- public:
- explicit PnaclUpdaterObserver(PnaclComponentInstaller* pci);
- virtual ~PnaclUpdaterObserver();
-
- virtual void OnEvent(Events event, int extra) OVERRIDE;
-
- void EnsureObserving();
- void StopObserving();
-
- private:
- bool must_observe_;
- PnaclComponentInstaller* pnacl_installer_;
- DISALLOW_COPY_AND_ASSIGN(PnaclUpdaterObserver);
-};
-
-#endif // CHROME_BROWSER_COMPONENT_UPDATER_PNACL_PNACL_UPDATER_OBSERVER_H_

Powered by Google App Engine
This is Rietveld 408576698