Index: chrome/browser/google/did_run_updater_win.cc |
diff --git a/chrome/browser/google/did_run_updater_win.cc b/chrome/browser/google/did_run_updater_win.cc |
index 09bd41726486a126e2aa492f8a7483efd19de2a3..9bb99dc4cdc437f142cae4b1498573bfab68505c 100644 |
--- a/chrome/browser/google/did_run_updater_win.cc |
+++ b/chrome/browser/google/did_run_updater_win.cc |
@@ -4,21 +4,13 @@ |
#include "chrome/browser/google/did_run_updater_win.h" |
-#include "base/base_paths.h" |
-#include "base/files/file_path.h" |
-#include "base/path_service.h" |
#include "chrome/installer/util/google_update_settings.h" |
-#include "chrome/installer/util/install_util.h" |
#include "content/public/browser/notification_details.h" |
#include "content/public/browser/notification_service.h" |
#include "content/public/browser/notification_source.h" |
#include "content/public/browser/notification_types.h" |
-DidRunUpdater::DidRunUpdater() : system_level_(false) { |
- base::FilePath exe_path; |
- if (PathService::Get(base::FILE_EXE, &exe_path)) |
- system_level_ = !InstallUtil::IsPerUserInstall(exe_path); |
- |
+DidRunUpdater::DidRunUpdater() { |
registrar_.Add(this, content::NOTIFICATION_RENDERER_PROCESS_CREATED, |
content::NotificationService::AllSources()); |
} |
@@ -29,5 +21,5 @@ DidRunUpdater::~DidRunUpdater() { |
void DidRunUpdater::Observe(int type, |
const content::NotificationSource& source, |
const content::NotificationDetails& details) { |
- GoogleUpdateSettings::UpdateDidRunState(true, system_level_); |
+ GoogleUpdateSettings::UpdateDidRunState(true); |
} |