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 { |