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

Unified Diff: chrome/browser/component_updater/pnacl/pnacl_component_installer.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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/component_updater/pnacl/pnacl_component_installer.h
diff --git a/chrome/browser/component_updater/pnacl/pnacl_component_installer.h b/chrome/browser/component_updater/pnacl/pnacl_component_installer.h
index b54fe403d0d00bf243d0888b64e08541b25953fb..b8ab14931f83c37bbc4b9514742f367778976cf2 100644
--- a/chrome/browser/component_updater/pnacl/pnacl_component_installer.h
+++ b/chrome/browser/component_updater/pnacl/pnacl_component_installer.h
@@ -14,7 +14,6 @@
#include "base/memory/scoped_ptr.h"
#include "base/version.h"
#include "chrome/browser/component_updater/component_updater_service.h"
-#include "chrome/browser/component_updater/pnacl/pnacl_profile_observer.h"
namespace base {
class CommandLine;
@@ -54,18 +53,8 @@ class PnaclComponentInstaller : public ComponentInstaller {
void RegisterPnaclComponent(ComponentUpdateService* cus,
const base::CommandLine& command_line);
- // Check the PNaCl version again and re-register with the component
- // updater service.
- void ReRegisterPnacl();
-
CrxComponent GetCrxComponent();
- // Return true if PNaCl installs are separated by user.
- bool per_user() const { return per_user_; }
-
- // If per_user, function to call when profile is changed.
- void OnProfileChange();
-
// Return true if PNaCl updates are disabled.
bool updates_disabled() const { return updates_disabled_; }
@@ -87,10 +76,7 @@ class PnaclComponentInstaller : public ComponentInstaller {
ComponentUpdateService* cus() const { return cus_; }
private:
- bool per_user_;
bool updates_disabled_;
- scoped_ptr<PnaclProfileObserver> profile_observer_;
- base::FilePath current_profile_path_;
base::Version current_version_;
std::string current_fingerprint_;
ComponentUpdateService* cus_;
« no previous file with comments | « chrome/browser/chrome_browser_main.cc ('k') | chrome/browser/component_updater/pnacl/pnacl_component_installer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698