| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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_ARC_TEST_FAKE_ARC_BRIDGE_SERVICE_H_ | 5 #ifndef COMPONENTS_ARC_TEST_FAKE_ARC_BRIDGE_SERVICE_H_ |
| 6 #define COMPONENTS_ARC_TEST_FAKE_ARC_BRIDGE_SERVICE_H_ | 6 #define COMPONENTS_ARC_TEST_FAKE_ARC_BRIDGE_SERVICE_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 72 const std::string& device_type, | 72 const std::string& device_type, |
| 73 base::ScopedFD fd) override; | 73 base::ScopedFD fd) override; |
| 74 bool RefreshAppList() override; | 74 bool RefreshAppList() override; |
| 75 bool LaunchApp(const std::string& package, | 75 bool LaunchApp(const std::string& package, |
| 76 const std::string& activity) override; | 76 const std::string& activity) override; |
| 77 bool RequestAppIcon(const std::string& package, | 77 bool RequestAppIcon(const std::string& package, |
| 78 const std::string& activity, | 78 const std::string& activity, |
| 79 ScaleFactor scale_factor) override; | 79 ScaleFactor scale_factor) override; |
| 80 bool SendNotificationEventToAndroid(const std::string& key, | 80 bool SendNotificationEventToAndroid(const std::string& key, |
| 81 ArcNotificationEvent event) override; | 81 ArcNotificationEvent event) override; |
| 82 bool SendClipboardContentToAndroid(const std::string& text) override; |
| 82 | 83 |
| 83 int refresh_app_list_count() const { return refresh_app_list_count_; } | 84 int refresh_app_list_count() const { return refresh_app_list_count_; } |
| 84 | 85 |
| 85 const ScopedVector<Request>& launch_requests() const { | 86 const ScopedVector<Request>& launch_requests() const { |
| 86 return launch_requests_; | 87 return launch_requests_; |
| 87 } | 88 } |
| 88 | 89 |
| 89 const ScopedVector<IconRequest>& icon_requests() const { | 90 const ScopedVector<IconRequest>& icon_requests() const { |
| 90 return icon_requests_; | 91 return icon_requests_; |
| 91 } | 92 } |
| (...skipping 18 matching lines...) Expand all Loading... |
| 110 ScopedVector<Request> launch_requests_; | 111 ScopedVector<Request> launch_requests_; |
| 111 // Keeps information about icon load requests. | 112 // Keeps information about icon load requests. |
| 112 ScopedVector<IconRequest> icon_requests_; | 113 ScopedVector<IconRequest> icon_requests_; |
| 113 | 114 |
| 114 DISALLOW_COPY_AND_ASSIGN(FakeArcBridgeService); | 115 DISALLOW_COPY_AND_ASSIGN(FakeArcBridgeService); |
| 115 }; | 116 }; |
| 116 | 117 |
| 117 } // namespace arc | 118 } // namespace arc |
| 118 | 119 |
| 119 #endif // COMPONENTS_ARC_TEST_FAKE_ARC_BRIDGE_SERVICE_H_ | 120 #endif // COMPONENTS_ARC_TEST_FAKE_ARC_BRIDGE_SERVICE_H_ |
| OLD | NEW |