| 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 #include "components/arc/test/fake_app_instance.h" | 5 #include "components/arc/test/fake_app_instance.h" |
| 6 | 6 |
| 7 #include <stdint.h> |
| 8 |
| 7 #include <string> | 9 #include <string> |
| 8 #include <vector> | 10 #include <vector> |
| 9 | 11 |
| 10 #include "base/files/file_path.h" | 12 #include "base/files/file_path.h" |
| 11 #include "base/files/file_util.h" | 13 #include "base/files/file_util.h" |
| 12 #include "base/path_service.h" | 14 #include "base/path_service.h" |
| 13 #include "mojo/common/common_type_converters.h" | 15 #include "mojo/common/common_type_converters.h" |
| 14 | 16 |
| 15 namespace mojo { | 17 namespace mojo { |
| 16 | 18 |
| (...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 105 void FakeAppInstance::WaitForIncomingMethodCall() { | 107 void FakeAppInstance::WaitForIncomingMethodCall() { |
| 106 binding_.WaitForIncomingMethodCall(); | 108 binding_.WaitForIncomingMethodCall(); |
| 107 } | 109 } |
| 108 | 110 |
| 109 void FakeAppInstance::WaitForOnAppInstanceReady() { | 111 void FakeAppInstance::WaitForOnAppInstanceReady() { |
| 110 WaitForIncomingMethodCall(); // Wait for Init(). | 112 WaitForIncomingMethodCall(); // Wait for Init(). |
| 111 WaitForIncomingMethodCall(); // Wait for RefreshAppList(). | 113 WaitForIncomingMethodCall(); // Wait for RefreshAppList(). |
| 112 } | 114 } |
| 113 | 115 |
| 114 } // namespace arc | 116 } // namespace arc |
| OLD | NEW |