Chromium Code Reviews| Index: chrome/browser/chromeos/app_mode/fake_cws.h |
| diff --git a/chrome/browser/chromeos/app_mode/fake_cws.h b/chrome/browser/chromeos/app_mode/fake_cws.h |
| index de25896487d85cfb4b13ec7a465665ee9b3bd74e..a9aa2a66a51fdff524586c85533b6923a4ee10c3 100644 |
| --- a/chrome/browser/chromeos/app_mode/fake_cws.h |
| +++ b/chrome/browser/chromeos/app_mode/fake_cws.h |
| @@ -47,14 +47,7 @@ class FakeCWS { |
| void SetupWebStoreURL(const GURL& test_server_url); |
| void OverrideGalleryCommandlineSwitches(); |
| - // Sets up |update_check_content_| used in update request response later by |
| - // kiosk app update server request handler |HandleRequest|. |
| - void SetUpdateCheckContent(const std::string& update_check_file, |
| - const GURL& crx_download_url, |
| - const std::string& app_id, |
| - const std::string& crx_fp, |
| - const std::string& crx_size, |
| - const std::string& version, |
| + bool GetUpdateCheckContent(const std::vector<std::string>& ids, |
|
xiyuan
2015/08/26 18:16:16
nit: #include <vector> and <string>
jennyz
2015/08/28 18:24:08
Done.
|
| std::string* update_check_content); |
| // Request handler for kiosk app update server. |
| @@ -67,7 +60,8 @@ class FakeCWS { |
| std::string no_update_template_; |
| std::string update_check_end_point_; |
| - std::string update_check_content_; |
| + // map keyed by app_id to app_update_content. |
|
not at google - send to devlin
2015/08/26 17:53:58
"map keyed..." --> "Map keyed..."
jennyz
2015/08/28 18:24:08
Done.
|
| + std::map<std::string, std::string> id_to_update_check_content_map_; |
|
xiyuan
2015/08/26 18:16:16
nit: #include <map>
jennyz
2015/08/28 18:24:08
Done.
|
| int update_check_count_; |
| DISALLOW_COPY_AND_ASSIGN(FakeCWS); |