OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 REMOTING_PROTOCOL_PAIRING_REGISTRY_DELEGATE_LINUX_H_ | 5 #ifndef REMOTING_HOST_PAIRING_REGISTRY_DELEGATE_LINUX_H_ |
6 #define REMOTING_PROTOCOL_PAIRING_REGISTRY_DELEGATE_LINUX_H_ | 6 #define REMOTING_HOST_PAIRING_REGISTRY_DELEGATE_LINUX_H_ |
7 | 7 |
8 #include "remoting/protocol/pairing_registry.h" | 8 #include "remoting/protocol/pairing_registry.h" |
9 | 9 |
10 #include "base/files/file_path.h" | 10 #include "base/files/file_path.h" |
| 11 #include "base/gtest_prod_util.h" |
11 | 12 |
12 namespace base { | 13 namespace base { |
13 class ListValue; | 14 class ListValue; |
14 } // namespace base | 15 } // namespace base |
15 | 16 |
16 namespace remoting { | 17 namespace remoting { |
17 | 18 |
18 class PairingRegistryDelegateLinux | 19 class PairingRegistryDelegateLinux |
19 : public protocol::PairingRegistry::Delegate { | 20 : public protocol::PairingRegistry::Delegate { |
20 public: | 21 public: |
(...skipping 19 matching lines...) Expand all Loading... |
40 // For testing purposes, set the path returned by |GetRegistryPath()|. | 41 // For testing purposes, set the path returned by |GetRegistryPath()|. |
41 void SetRegistryPathForTesting(const base::FilePath& registry_path); | 42 void SetRegistryPathForTesting(const base::FilePath& registry_path); |
42 | 43 |
43 base::FilePath registry_path_for_testing_; | 44 base::FilePath registry_path_for_testing_; |
44 | 45 |
45 DISALLOW_COPY_AND_ASSIGN(PairingRegistryDelegateLinux); | 46 DISALLOW_COPY_AND_ASSIGN(PairingRegistryDelegateLinux); |
46 }; | 47 }; |
47 | 48 |
48 } // namespace remoting | 49 } // namespace remoting |
49 | 50 |
50 #endif // REMOTING_PROTOCOL_PAIRING_REGISTRY_DELEGATE_LINUX_H_ | 51 #endif // REMOTING_HOST_PAIRING_REGISTRY_DELEGATE_LINUX_H_ |
OLD | NEW |