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 84% |
rename from chromeos/pairing/fake_host_pairing_controller.h |
rename to components/pairing/fake_host_pairing_controller.h |
index 245e14128bd9d4fc5f757463e97df3640d92a274..22e900c2421813e2f94338ac89a955921834da0f 100644 |
--- a/chromeos/pairing/fake_host_pairing_controller.h |
+++ b/components/pairing/fake_host_pairing_controller.h |
@@ -2,18 +2,18 @@ |
// 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" |
+#include "components/pairing/pairing_export.h" |
namespace chromeos { |
-class CHROMEOS_EXPORT FakeHostPairingController |
+class PAIRING_EXPORT FakeHostPairingController |
: public HostPairingController, |
public HostPairingController::Observer { |
public: |
@@ -28,7 +28,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. |
@@ -71,4 +71,4 @@ class CHROMEOS_EXPORT FakeHostPairingController |
} // namespace chromeos |
-#endif // CHROMEOS_PAIRING_FAKE_HOST_PAIRING_CONTROLLER_H_ |
+#endif // COMPONENTS_PAIRING_FAKE_HOST_PAIRING_CONTROLLER_H_ |