OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "chrome/browser/ui/webui/chromeos/login/update_screen_handler.h" | 5 #include "chrome/browser/ui/webui/chromeos/login/update_screen_handler.h" |
6 | 6 |
7 #include "base/memory/scoped_ptr.h" | 7 #include "base/memory/scoped_ptr.h" |
8 #include "base/values.h" | 8 #include "base/values.h" |
9 #include "chrome/browser/ui/webui/chromeos/login/oobe_ui.h" | 9 #include "chrome/browser/ui/webui/chromeos/login/oobe_ui.h" |
10 #include "grit/chromium_strings.h" | 10 #include "chrome/grit/chromium_strings.h" |
11 #include "grit/generated_resources.h" | 11 #include "chrome/grit/generated_resources.h" |
12 #include "ui/base/l10n/l10n_util.h" | 12 #include "ui/base/l10n/l10n_util.h" |
13 | 13 |
14 namespace { | 14 namespace { |
15 | 15 |
16 const char kJsScreenPath[] = "login.UpdateScreen"; | 16 const char kJsScreenPath[] = "login.UpdateScreen"; |
17 | 17 |
18 } // namespace | 18 } // namespace |
19 | 19 |
20 namespace chromeos { | 20 namespace chromeos { |
21 | 21 |
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
141 screen_->OnConnectToNetworkRequested(); | 141 screen_->OnConnectToNetworkRequested(); |
142 } | 142 } |
143 | 143 |
144 #if !defined(OFFICIAL_BUILD) | 144 #if !defined(OFFICIAL_BUILD) |
145 void UpdateScreenHandler::HandleUpdateCancel() { | 145 void UpdateScreenHandler::HandleUpdateCancel() { |
146 screen_->CancelUpdate(); | 146 screen_->CancelUpdate(); |
147 } | 147 } |
148 #endif | 148 #endif |
149 | 149 |
150 } // namespace chromeos | 150 } // namespace chromeos |
OLD | NEW |