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

Unified Diff: chrome/browser/google/did_run_updater_win.cc

Issue 2619323003: Remove uses of BrowserDistribution::CHROME_BINARIES in installer_util. (Closed)
Patch Set: sync to position 442533 Created 3 years, 11 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
« no previous file with comments | « chrome/browser/google/did_run_updater_win.h ('k') | chrome/browser/google/google_update_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
}
« no previous file with comments | « chrome/browser/google/did_run_updater_win.h ('k') | chrome/browser/google/google_update_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698