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

Side by Side Diff: components/pairing/controller_pairing_controller.h

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 #ifndef CHROMEOS_PAIRING_CONTROLLER_PAIRING_CONTROLLER_H_ 5 #ifndef COMPONENTS_PAIRING_CONTROLLER_PAIRING_CONTROLLER_H_
6 #define CHROMEOS_PAIRING_CONTROLLER_PAIRING_CONTROLLER_H_ 6 #define COMPONENTS_PAIRING_CONTROLLER_PAIRING_CONTROLLER_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
11 #include "base/macros.h" 11 #include "base/macros.h"
12 #include "chromeos/chromeos_export.h" 12 #include "components/pairing/pairing_export.h"
13 13
14 namespace chromeos { 14 namespace chromeos {
15 class UserContext; 15 class UserContext;
16 } 16 }
17 17
18 namespace content { 18 namespace content {
19 class BrowserContext; 19 class BrowserContext;
20 } 20 }
21 21
22 namespace chromeos { 22 namespace chromeos {
23 23
24 class CHROMEOS_EXPORT ControllerPairingController { 24 class PAIRING_EXPORT ControllerPairingController {
25 public: 25 public:
26 enum Stage { 26 enum Stage {
27 STAGE_NONE, 27 STAGE_NONE,
28 STAGE_DEVICES_DISCOVERY, 28 STAGE_DEVICES_DISCOVERY,
29 STAGE_DEVICE_NOT_FOUND, 29 STAGE_DEVICE_NOT_FOUND,
30 STAGE_ESTABLISHING_CONNECTION, 30 STAGE_ESTABLISHING_CONNECTION,
31 STAGE_ESTABLISHING_CONNECTION_ERROR, 31 STAGE_ESTABLISHING_CONNECTION_ERROR,
32 STAGE_WAITING_FOR_CODE_CONFIRMATION, 32 STAGE_WAITING_FOR_CODE_CONFIRMATION,
33 STAGE_HOST_UPDATE_IN_PROGRESS, 33 STAGE_HOST_UPDATE_IN_PROGRESS,
34 STAGE_HOST_CONNECTION_LOST, 34 STAGE_HOST_CONNECTION_LOST,
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
99 // Installs app and starts session. 99 // Installs app and starts session.
100 // Can be called only on |STAGE_PAIRING_DONE| stage. 100 // Can be called only on |STAGE_PAIRING_DONE| stage.
101 virtual void StartSession() = 0; 101 virtual void StartSession() = 0;
102 102
103 private: 103 private:
104 DISALLOW_COPY_AND_ASSIGN(ControllerPairingController); 104 DISALLOW_COPY_AND_ASSIGN(ControllerPairingController);
105 }; 105 };
106 106
107 } // namespace chromeos 107 } // namespace chromeos
108 108
109 #endif // CHROMEOS_PAIRING_CONTROLLER_PAIRING_CONTROLLER_H_ 109 #endif // COMPONENTS_PAIRING_CONTROLLER_PAIRING_CONTROLLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698