| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 CHROME_BROWSER_COMPONENT_UPDATER_UPDATE_RESPONSE_H_ | 5 #ifndef CHROME_BROWSER_COMPONENT_UPDATER_UPDATE_RESPONSE_H_ |
| 6 #define CHROME_BROWSER_COMPONENT_UPDATER_UPDATE_RESPONSE_H_ | 6 #define CHROME_BROWSER_COMPONENT_UPDATER_UPDATE_RESPONSE_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| (...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 83 std::string browser_min_version; | 83 std::string browser_min_version; |
| 84 std::vector<Package> packages; | 84 std::vector<Package> packages; |
| 85 }; | 85 }; |
| 86 | 86 |
| 87 Result(); | 87 Result(); |
| 88 ~Result(); | 88 ~Result(); |
| 89 | 89 |
| 90 std::string extension_id; | 90 std::string extension_id; |
| 91 | 91 |
| 92 // The list of fallback urls, for full and diff updates respectively. | 92 // The list of fallback urls, for full and diff updates respectively. |
| 93 // These urls are base urls; they don't include the filename. |
| 93 std::vector<GURL> crx_urls; | 94 std::vector<GURL> crx_urls; |
| 94 std::vector<GURL> crx_diffurls; | 95 std::vector<GURL> crx_diffurls; |
| 95 | 96 |
| 96 Manifest manifest; | 97 Manifest manifest; |
| 97 }; | 98 }; |
| 98 | 99 |
| 99 static const int kNoDaystart = -1; | 100 static const int kNoDaystart = -1; |
| 100 struct Results { | 101 struct Results { |
| 101 Results(); | 102 Results(); |
| 102 ~Results(); | 103 ~Results(); |
| (...skipping 22 matching lines...) Expand all Loading... |
| 125 // Adds parse error details to |errors_| string. | 126 // Adds parse error details to |errors_| string. |
| 126 void ParseError(const char* details, ...); | 127 void ParseError(const char* details, ...); |
| 127 | 128 |
| 128 DISALLOW_COPY_AND_ASSIGN(UpdateResponse); | 129 DISALLOW_COPY_AND_ASSIGN(UpdateResponse); |
| 129 }; | 130 }; |
| 130 | 131 |
| 131 } // namespace component_updater | 132 } // namespace component_updater |
| 132 | 133 |
| 133 #endif // CHROME_BROWSER_COMPONENT_UPDATER_UPDATE_RESPONSE_H_ | 134 #endif // CHROME_BROWSER_COMPONENT_UPDATER_UPDATE_RESPONSE_H_ |
| 134 | 135 |
| OLD | NEW |