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

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

Issue 2511973004: components: Cleanup class/struct fwd declarations (Closed)
Patch Set: Rebase on top of current master branch Created 4 years 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
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 COMPONENTS_PAIRING_CONTROLLER_PAIRING_CONTROLLER_H_ 5 #ifndef COMPONENTS_PAIRING_CONTROLLER_PAIRING_CONTROLLER_H_
6 #define COMPONENTS_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 12
13 namespace chromeos {
14 class UserContext;
15 }
16
17 namespace content {
18 class BrowserContext;
19 }
20
21 namespace pairing_chromeos { 13 namespace pairing_chromeos {
22 14
23 class ControllerPairingController { 15 class ControllerPairingController {
24 public: 16 public:
25 enum Stage { 17 enum Stage {
26 STAGE_NONE, 18 STAGE_NONE,
27 STAGE_INITIALIZATION_ERROR, 19 STAGE_INITIALIZATION_ERROR,
28 STAGE_DEVICES_DISCOVERY, 20 STAGE_DEVICES_DISCOVERY,
29 STAGE_DEVICE_NOT_FOUND, 21 STAGE_DEVICE_NOT_FOUND,
30 STAGE_ESTABLISHING_CONNECTION, 22 STAGE_ESTABLISHING_CONNECTION,
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 virtual void AddObserver(Observer* observer) = 0; 104 virtual void AddObserver(Observer* observer) = 0;
113 virtual void RemoveObserver(Observer* observer) = 0; 105 virtual void RemoveObserver(Observer* observer) = 0;
114 106
115 private: 107 private:
116 DISALLOW_COPY_AND_ASSIGN(ControllerPairingController); 108 DISALLOW_COPY_AND_ASSIGN(ControllerPairingController);
117 }; 109 };
118 110
119 } // namespace pairing_chromeos 111 } // namespace pairing_chromeos
120 112
121 #endif // COMPONENTS_PAIRING_CONTROLLER_PAIRING_CONTROLLER_H_ 113 #endif // COMPONENTS_PAIRING_CONTROLLER_PAIRING_CONTROLLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698