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

Unified Diff: chromeos/dbus/fake_update_engine_client.h

Issue 578293002: Fixed channel switch when user decides to switch to another channel in (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Comments are addressed. 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: chromeos/dbus/fake_update_engine_client.h
diff --git a/chromeos/dbus/fake_update_engine_client.h b/chromeos/dbus/fake_update_engine_client.h
index 91384deef996e071c67ef3a6bedeb5c83452c7dd..1ecabc2d98d7a94210951279aaf87efa441ce525 100644
--- a/chromeos/dbus/fake_update_engine_client.h
+++ b/chromeos/dbus/fake_update_engine_client.h
@@ -65,6 +65,10 @@ class FakeUpdateEngineClient : public UpdateEngineClient {
return reboot_after_update_call_count_;
}
+ int request_update_check_call_count() const {
+ return request_update_check_call_count_;
+ }
+
// Returns how many times Rollback() is called.
int rollback_call_count() const { return rollback_call_count_; }
@@ -78,6 +82,7 @@ class FakeUpdateEngineClient : public UpdateEngineClient {
UpdateEngineClient::UpdateCheckResult update_check_result_;
bool can_rollback_stub_result_;
int reboot_after_update_call_count_;
+ int request_update_check_call_count_;
int rollback_call_count_;
int can_rollback_call_count_;
};

Powered by Google App Engine
This is Rietveld 408576698