Chromium Code Reviews| 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 82% |
| rename from chromeos/pairing/fake_host_pairing_controller.h |
| rename to components/pairing/fake_host_pairing_controller.h |
| index 245e14128bd9d4fc5f757463e97df3640d92a274..404ffe1ad77ef0dcc2098794a2b245ec2c231835 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" |
|
jochen (gone - plz use gerrit)
2014/07/17 07:14:19
if you use base, you should depend on it in gyp
Zachary Kuznia
2014/07/17 22:14:47
Done.
|
| #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 { |
| +namespace pairing_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. |
| @@ -69,6 +69,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_ |