| 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_ARC_BRIDGE_SERVICE_H_ | 5 #ifndef COMPONENTS_ARC_ARC_BRIDGE_SERVICE_H_ |
| 6 #define COMPONENTS_ARC_ARC_BRIDGE_SERVICE_H_ | 6 #define COMPONENTS_ARC_ARC_BRIDGE_SERVICE_H_ |
| 7 | 7 |
| 8 #include <iosfwd> |
| 8 #include <string> | 9 #include <string> |
| 9 #include <vector> | 10 #include <vector> |
| 10 | 11 |
| 11 #include "base/files/scoped_file.h" | 12 #include "base/files/scoped_file.h" |
| 12 #include "base/gtest_prod_util.h" | 13 #include "base/gtest_prod_util.h" |
| 13 #include "base/macros.h" | 14 #include "base/macros.h" |
| 14 #include "base/observer_list.h" | 15 #include "base/observer_list.h" |
| 15 #include "base/values.h" | 16 #include "base/values.h" |
| 16 #include "components/arc/common/arc_bridge.mojom.h" | 17 #include "components/arc/common/arc_bridge.mojom.h" |
| 17 #include "components/arc/instance_holder.h" | 18 #include "components/arc/instance_holder.h" |
| (...skipping 209 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 227 | 228 |
| 228 // The reason the bridge is stopped. | 229 // The reason the bridge is stopped. |
| 229 StopReason stop_reason_; | 230 StopReason stop_reason_; |
| 230 | 231 |
| 231 // WeakPtrFactory to use callbacks. | 232 // WeakPtrFactory to use callbacks. |
| 232 base::WeakPtrFactory<ArcBridgeService> weak_factory_; | 233 base::WeakPtrFactory<ArcBridgeService> weak_factory_; |
| 233 | 234 |
| 234 DISALLOW_COPY_AND_ASSIGN(ArcBridgeService); | 235 DISALLOW_COPY_AND_ASSIGN(ArcBridgeService); |
| 235 }; | 236 }; |
| 236 | 237 |
| 238 // Defines "<<" operator for LOGging purpose. |
| 239 std::ostream& operator<<( |
| 240 std::ostream& os, ArcBridgeService::StopReason reason); |
| 241 |
| 237 } // namespace arc | 242 } // namespace arc |
| 238 | 243 |
| 239 #endif // COMPONENTS_ARC_ARC_BRIDGE_SERVICE_H_ | 244 #endif // COMPONENTS_ARC_ARC_BRIDGE_SERVICE_H_ |
| OLD | NEW |