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

Side by Side Diff: chrome/browser/chromeos/login/screens/host_pairing_screen.cc

Issue 387163002: Move Chrome OS pairing interface to chrome/browser/chromeos (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add missing file Created 6 years, 5 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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/chromeos/login/screens/host_pairing_screen.h" 5 #include "chrome/browser/chromeos/login/screens/host_pairing_screen.h"
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "chrome/browser/chromeos/login/wizard_controller.h" 8 #include "chrome/browser/chromeos/login/wizard_controller.h"
9 #include "chromeos/chromeos_switches.h" 9 #include "chromeos/chromeos_switches.h"
10 #include "chromeos/pairing/fake_host_pairing_controller.h" 10 #include "components/pairing/fake_host_pairing_controller.h"
11 11
12 namespace chromeos { 12 namespace chromeos {
13 13
14 using namespace host_pairing; 14 using namespace host_pairing;
15 15
16 HostPairingScreen::HostPairingScreen(ScreenObserver* observer, 16 HostPairingScreen::HostPairingScreen(ScreenObserver* observer,
17 HostPairingScreenActor* actor) 17 HostPairingScreenActor* actor)
18 : WizardScreen(observer), 18 : WizardScreen(observer),
19 actor_(actor), 19 actor_(actor),
20 current_stage_(HostPairingController::STAGE_NONE) { 20 current_stage_(HostPairingController::STAGE_NONE) {
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 context_.SetDouble(kContextKeyUpdateProgress, progress.progress); 117 context_.SetDouble(kContextKeyUpdateProgress, progress.progress);
118 CommitContextChanges(); 118 CommitContextChanges();
119 } 119 }
120 120
121 void HostPairingScreen::OnActorDestroyed(HostPairingScreenActor* actor) { 121 void HostPairingScreen::OnActorDestroyed(HostPairingScreenActor* actor) {
122 if (actor_ == actor) 122 if (actor_ == actor)
123 actor_ = NULL; 123 actor_ = NULL;
124 } 124 }
125 125
126 } // namespace chromeos 126 } // namespace chromeos
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698