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

Unified Diff: chrome/browser/chromeos/app_mode/kiosk_app_manager.h

Issue 1019283004: Switch to direct use of OwnerSettingsServiceChromeOS::Set() in tests. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 years, 8 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 | « no previous file | chrome/browser/chromeos/app_mode/kiosk_app_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/app_mode/kiosk_app_manager.h
diff --git a/chrome/browser/chromeos/app_mode/kiosk_app_manager.h b/chrome/browser/chromeos/app_mode/kiosk_app_manager.h
index aff5898ef6151e07bc5e2006f68596c2d90ff1ea..72d511c7f5cf8238989334ec8e4829ac57f91084 100644
--- a/chrome/browser/chromeos/app_mode/kiosk_app_manager.h
+++ b/chrome/browser/chromeos/app_mode/kiosk_app_manager.h
@@ -38,6 +38,7 @@ class KioskAppData;
class KioskAppExternalLoader;
class KioskAppManagerObserver;
class KioskExternalUpdater;
+class OwnerSettingsServiceChromeOS;
// KioskAppManager manages cached app data.
class KioskAppManager : public KioskAppDataDelegate,
@@ -121,7 +122,8 @@ class KioskAppManager : public KioskAppDataDelegate,
std::string GetAutoLaunchApp() const;
// Sets |app_id| as the app to auto launch at start up.
- void SetAutoLaunchApp(const std::string& app_id);
+ void SetAutoLaunchApp(const std::string& app_id,
+ OwnerSettingsServiceChromeOS* service);
// Returns true if there is a pending auto-launch request.
bool IsAutoLaunchRequested() const;
@@ -134,8 +136,9 @@ class KioskAppManager : public KioskAppDataDelegate,
// Adds/removes a kiosk app by id. When removed, all locally cached data
// will be removed as well.
- void AddApp(const std::string& app_id);
- void RemoveApp(const std::string& app_id);
+ void AddApp(const std::string& app_id, OwnerSettingsServiceChromeOS* service);
+ void RemoveApp(const std::string& app_id,
+ OwnerSettingsServiceChromeOS* service);
// Gets info of all apps that have no meta data load error.
void GetApps(Apps* apps) const;
« no previous file with comments | « no previous file | chrome/browser/chromeos/app_mode/kiosk_app_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698