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_APP_INSTANCE_H_ | 5 #ifndef COMPONENTS_ARC_TEST_FAKE_APP_INSTANCE_H_ |
6 #define COMPONENTS_ARC_TEST_FAKE_APP_INSTANCE_H_ | 6 #define COMPONENTS_ARC_TEST_FAKE_APP_INSTANCE_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
| 11 #include "base/macros.h" |
11 #include "base/memory/scoped_vector.h" | 12 #include "base/memory/scoped_vector.h" |
12 #include "components/arc/common/app.mojom.h" | 13 #include "components/arc/common/app.mojom.h" |
13 #include "mojo/public/cpp/bindings/binding.h" | 14 #include "mojo/public/cpp/bindings/binding.h" |
14 | 15 |
15 namespace arc { | 16 namespace arc { |
16 | 17 |
17 class FakeAppInstance : public AppInstance { | 18 class FakeAppInstance : public AppInstance { |
18 public: | 19 public: |
19 class Request { | 20 class Request { |
20 public: | 21 public: |
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
104 int refresh_app_list_count_ = 0; | 105 int refresh_app_list_count_ = 0; |
105 // Keeps information about launch requests. | 106 // Keeps information about launch requests. |
106 ScopedVector<Request> launch_requests_; | 107 ScopedVector<Request> launch_requests_; |
107 // Keeps information about icon load requests. | 108 // Keeps information about icon load requests. |
108 ScopedVector<IconRequest> icon_requests_; | 109 ScopedVector<IconRequest> icon_requests_; |
109 }; | 110 }; |
110 | 111 |
111 } // namespace arc | 112 } // namespace arc |
112 | 113 |
113 #endif // COMPONENTS_ARC_TEST_FAKE_APP_INSTANCE_H_ | 114 #endif // COMPONENTS_ARC_TEST_FAKE_APP_INSTANCE_H_ |
OLD | NEW |