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 <memory> | 7 #include <memory> |
8 | 8 |
9 #include "base/values.h" | 9 #include "base/values.h" |
| 10 #include "chrome/browser/chromeos/login/oobe_screen.h" |
10 #include "chrome/browser/chromeos/login/screens/update_model.h" | 11 #include "chrome/browser/chromeos/login/screens/update_model.h" |
11 #include "chrome/browser/ui/webui/chromeos/login/oobe_screen.h" | |
12 #include "chrome/grit/chromium_strings.h" | 12 #include "chrome/grit/chromium_strings.h" |
13 #include "chrome/grit/generated_resources.h" | 13 #include "chrome/grit/generated_resources.h" |
14 #include "components/login/localized_values_builder.h" | 14 #include "components/login/localized_values_builder.h" |
15 | 15 |
16 namespace { | 16 namespace { |
17 | 17 |
18 const char kJsScreenPath[] = "login.UpdateScreen"; | 18 const char kJsScreenPath[] = "login.UpdateScreen"; |
19 | 19 |
20 } // namespace | 20 } // namespace |
21 | 21 |
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
80 model_ = &model; | 80 model_ = &model; |
81 BaseScreenHandler::SetBaseScreen(model_); | 81 BaseScreenHandler::SetBaseScreen(model_); |
82 } | 82 } |
83 | 83 |
84 void UpdateScreenHandler::Unbind() { | 84 void UpdateScreenHandler::Unbind() { |
85 model_ = nullptr; | 85 model_ = nullptr; |
86 BaseScreenHandler::SetBaseScreen(nullptr); | 86 BaseScreenHandler::SetBaseScreen(nullptr); |
87 } | 87 } |
88 | 88 |
89 } // namespace chromeos | 89 } // namespace chromeos |
OLD | NEW |