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

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

Issue 2132663002: kiosk: Add status report for os update and running app (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: move clean up code from TearDown to dtor since set up code is in ctor now and fix DeviceStatusColle… Created 4 years, 5 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/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 6c8e2ae2dac7fc97891932158adfdbe969016071..eb731f2bd9dac069f2cccd20cb6c2eb2c098dd06 100644
--- a/chrome/browser/chromeos/app_mode/kiosk_app_manager.h
+++ b/chrome/browser/chromeos/app_mode/kiosk_app_manager.h
@@ -22,6 +22,7 @@
#include "components/signin/core/account_id/account_id.h"
#include "ui/gfx/image/image_skia.h"
+class GURL;
class PrefRegistrySimple;
class Profile;
@@ -234,6 +235,13 @@ class KioskAppManager : public KioskAppDataDelegate,
// Initialize |app_session_|.
void InitSession(Profile* profile, const std::string& app_id);
+ // Adds an app with the given meta data directly and skips meta data fetching
+ // for test.
+ void AddAppForTest(const std::string& app_id,
+ const AccountId& account_id,
+ const GURL& update_url,
+ const std::string& required_platform_version);
+
AppSession* app_session() { return app_session_.get(); }
bool external_loader_created() const { return external_loader_created_; }
bool secondary_app_external_loader_created() const {
« no previous file with comments | « chrome/browser/chromeos/app_mode/kiosk_app_data.cc ('k') | chrome/browser/chromeos/app_mode/kiosk_app_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698