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

Unified Diff: components/pairing/fake_host_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: Leave chromeos/pairing intact for try jobs 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 side-by-side diff with in-line comments
Download patch
Index: components/pairing/fake_host_pairing_controller.h
diff --git a/chromeos/pairing/fake_host_pairing_controller.h b/components/pairing/fake_host_pairing_controller.h
similarity index 83%
rename from chromeos/pairing/fake_host_pairing_controller.h
rename to components/pairing/fake_host_pairing_controller.h
index 245e14128bd9d4fc5f757463e97df3640d92a274..a071c5eca01d73eda1ff7ed77793bada3c10e899 100644
--- a/chromeos/pairing/fake_host_pairing_controller.h
+++ b/components/pairing/fake_host_pairing_controller.h
@@ -2,18 +2,17 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CHROMEOS_PAIRING_FAKE_HOST_PAIRING_CONTROLLER_H_
-#define CHROMEOS_PAIRING_FAKE_HOST_PAIRING_CONTROLLER_H_
+#ifndef COMPONENTS_PAIRING_FAKE_HOST_PAIRING_CONTROLLER_H_
+#define COMPONENTS_PAIRING_FAKE_HOST_PAIRING_CONTROLLER_H_
#include "base/macros.h"
#include "base/observer_list.h"
#include "base/time/time.h"
-#include "chromeos/chromeos_export.h"
-#include "chromeos/pairing/host_pairing_controller.h"
+#include "components/pairing/host_pairing_controller.h"
-namespace chromeos {
+namespace pairing_chromeos {
-class CHROMEOS_EXPORT FakeHostPairingController
+class FakeHostPairingController
: public HostPairingController,
public HostPairingController::Observer {
public:
@@ -28,7 +27,7 @@ class CHROMEOS_EXPORT FakeHostPairingController
// empty, random code is generated.
// * device_name - string. Default: "Chromebox-01".
// * domain - string. Default: "example.com".
- FakeHostPairingController(const std::string& config);
+ explicit FakeHostPairingController(const std::string& config);
virtual ~FakeHostPairingController();
// Applies given |config| to flow.
@@ -69,6 +68,6 @@ class CHROMEOS_EXPORT FakeHostPairingController
DISALLOW_COPY_AND_ASSIGN(FakeHostPairingController);
};
-} // namespace chromeos
+} // namespace pairing_chromeos
-#endif // CHROMEOS_PAIRING_FAKE_HOST_PAIRING_CONTROLLER_H_
+#endif // COMPONENTS_PAIRING_FAKE_HOST_PAIRING_CONTROLLER_H_

Powered by Google App Engine
This is Rietveld 408576698