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