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

Unified Diff: chrome/browser/chromeos/login/screens/update_model.cc

Issue 2684473002: Revert of Fold UpdateModel into UpdateScreen. (Closed)
Patch Set: Created 3 years, 10 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/login/screens/update_model.cc
diff --git a/chrome/browser/chromeos/login/screens/update_model.cc b/chrome/browser/chromeos/login/screens/update_model.cc
new file mode 100644
index 0000000000000000000000000000000000000000..d03f775b471028a946b5b40e4e96fe84d123b0ce
--- /dev/null
+++ b/chrome/browser/chromeos/login/screens/update_model.cc
@@ -0,0 +1,27 @@
+// Copyright 2015 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "chrome/browser/chromeos/login/screens/update_model.h"
+
+#include "chrome/browser/chromeos/login/wizard_controller.h"
+
+namespace chromeos {
+
+const char UpdateModel::kUserActionCancelUpdateShortcut[] = "cancel-update";
+const char UpdateModel::kContextKeyEstimatedTimeLeftSec[] = "time-left-sec";
+const char UpdateModel::kContextKeyShowEstimatedTimeLeft[] = "show-time-left";
+const char UpdateModel::kContextKeyUpdateMessage[] = "update-msg";
+const char UpdateModel::kContextKeyShowCurtain[] = "show-curtain";
+const char UpdateModel::kContextKeyShowProgressMessage[] = "show-progress-msg";
+const char UpdateModel::kContextKeyProgress[] = "progress";
+const char UpdateModel::kContextKeyProgressMessage[] = "progress-msg";
+const char UpdateModel::kContextKeyCancelUpdateShortcutEnabled[] =
+ "cancel-update-enabled";
+
+UpdateModel::UpdateModel(BaseScreenDelegate* base_screen_delegate)
+ : BaseScreen(base_screen_delegate, OobeScreen::SCREEN_OOBE_UPDATE) {}
+
+UpdateModel::~UpdateModel() {}
+
+} // namespace chromeos
« no previous file with comments | « chrome/browser/chromeos/login/screens/update_model.h ('k') | chrome/browser/chromeos/login/screens/update_screen.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698