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

Unified Diff: chrome/browser/ui/webui/help/version_updater_chromeos.h

Issue 738843002: Call to CrosSettings::Set() is replaced by OwnerSettingsService::Set() in VersionUpdaterCros. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixes. Created 6 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/ui/webui/help/version_updater_chromeos.h
diff --git a/chrome/browser/ui/webui/help/version_updater_chromeos.h b/chrome/browser/ui/webui/help/version_updater_chromeos.h
index d12c77ccc2aadcf9da4f599825a585bf16394789..9413012bd9b1c57643fb4bed745d86e076df88d5 100644
--- a/chrome/browser/ui/webui/help/version_updater_chromeos.h
+++ b/chrome/browser/ui/webui/help/version_updater_chromeos.h
@@ -28,7 +28,7 @@ class VersionUpdaterCros : public VersionUpdater,
friend class VersionUpdater;
// Clients must use VersionUpdater::Create().
- VersionUpdaterCros();
+ explicit VersionUpdaterCros(content::BrowserContext* context);
virtual ~VersionUpdaterCros();
private:
@@ -39,6 +39,9 @@ class VersionUpdaterCros : public VersionUpdater,
// Callback from UpdateEngineClient::RequestUpdateCheck().
void OnUpdateCheck(chromeos::UpdateEngineClient::UpdateCheckResult result);
+ // BrowserContext in which the class was instantiated.
+ content::BrowserContext* context_;
+
// Callback used to communicate update status to the client.
StatusCallback callback_;
« no previous file with comments | « chrome/browser/ui/webui/help/version_updater_basic.cc ('k') | chrome/browser/ui/webui/help/version_updater_chromeos.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698