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

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

Issue 540673003: Add more browser tests for Kiosk update from usb stick. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove TestObsesrver. Created 6 years, 3 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_external_updater.h
diff --git a/chrome/browser/chromeos/app_mode/kiosk_external_updater.h b/chrome/browser/chromeos/app_mode/kiosk_external_updater.h
index f9177b927206b042b0c3cd036dc901db6ab19de5..2dcd2feefd2148264f975860fa6ec31cf494624d 100644
--- a/chrome/browser/chromeos/app_mode/kiosk_external_updater.h
+++ b/chrome/browser/chromeos/app_mode/kiosk_external_updater.h
@@ -10,6 +10,7 @@
#include "base/files/file_path.h"
#include "base/memory/scoped_ptr.h"
#include "base/memory/weak_ptr.h"
+#include "base/observer_list.h"
#include "base/sequenced_task_runner.h"
#include "chrome/browser/chromeos/app_mode/kiosk_external_update_validator.h"
#include "chromeos/disks/disk_mount_manager.h"
@@ -89,6 +90,10 @@ class KioskExternalUpdater : public disks::DiskMountManager::Observer,
// Returns true if there are any external updates pending.
bool IsExternalUpdatePending();
+ // Returns true if all external updates specified in the manifest are
+ // completed successfully.
+ bool IsAllExternalUpdatesSucceeded();
+
// Returns true if the app with |app_id| should be updated to
// |external_extension|.
bool ShouldDoExternalUpdate(const std::string& app_id,

Powered by Google App Engine
This is Rietveld 408576698