Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(66)

Side by Side Diff: components/arc/test/fake_app_instance.h

Issue 2929273002: Add the Play Store app search to the launcher. (Closed)
Patch Set: Fix unittest build failure. Created 3 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « components/arc/common/app.mojom ('k') | components/arc/test/fake_app_instance.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 <map> 8 #include <map>
9 #include <memory> 9 #include <memory>
10 #include <string> 10 #include <string>
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 void SetTaskActive(int32_t task_id) override; 105 void SetTaskActive(int32_t task_id) override;
106 void CloseTask(int32_t task_id) override; 106 void CloseTask(int32_t task_id) override;
107 void ShowPackageInfoDeprecated(const std::string& package_name, 107 void ShowPackageInfoDeprecated(const std::string& package_name,
108 const gfx::Rect& dimension_on_screen) override; 108 const gfx::Rect& dimension_on_screen) override;
109 void ShowPackageInfoOnPage(const std::string& package_name, 109 void ShowPackageInfoOnPage(const std::string& package_name,
110 mojom::ShowPackageInfoPage page, 110 mojom::ShowPackageInfoPage page,
111 const gfx::Rect& dimension_on_screen) override; 111 const gfx::Rect& dimension_on_screen) override;
112 void SetNotificationsEnabled(const std::string& package_name, 112 void SetNotificationsEnabled(const std::string& package_name,
113 bool enabled) override; 113 bool enabled) override;
114 void InstallPackage(mojom::ArcPackageInfoPtr arcPackageInfo) override; 114 void InstallPackage(mojom::ArcPackageInfoPtr arcPackageInfo) override;
115 void GetRecentAndSuggestedAppsFromPlayStore(
116 const std::string& query,
117 int32_t max_results,
118 const GetRecentAndSuggestedAppsFromPlayStoreCallback& callback) override;
115 119
116 // Methods to reply messages. 120 // Methods to reply messages.
117 void SendRefreshAppList(const std::vector<mojom::AppInfo>& apps); 121 void SendRefreshAppList(const std::vector<mojom::AppInfo>& apps);
118 void SendAppAdded(const mojom::AppInfo& app); 122 void SendAppAdded(const mojom::AppInfo& app);
119 void SendPackageAppListRefreshed(const std::string& package_name, 123 void SendPackageAppListRefreshed(const std::string& package_name,
120 const std::vector<mojom::AppInfo>& apps); 124 const std::vector<mojom::AppInfo>& apps);
121 void SendTaskCreated(int32_t taskId, 125 void SendTaskCreated(int32_t taskId,
122 const mojom::AppInfo& app, 126 const mojom::AppInfo& app,
123 const std::string& intent); 127 const std::string& intent);
124 void SendTaskDescription(int32_t taskId, 128 void SendTaskDescription(int32_t taskId,
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
184 188
185 bool GetFakeIcon(mojom::ScaleFactor scale_factor, 189 bool GetFakeIcon(mojom::ScaleFactor scale_factor,
186 std::string* png_data_as_string); 190 std::string* png_data_as_string);
187 191
188 DISALLOW_COPY_AND_ASSIGN(FakeAppInstance); 192 DISALLOW_COPY_AND_ASSIGN(FakeAppInstance);
189 }; 193 };
190 194
191 } // namespace arc 195 } // namespace arc
192 196
193 #endif // COMPONENTS_ARC_TEST_FAKE_APP_INSTANCE_H_ 197 #endif // COMPONENTS_ARC_TEST_FAKE_APP_INSTANCE_H_
OLDNEW
« no previous file with comments | « components/arc/common/app.mojom ('k') | components/arc/test/fake_app_instance.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698