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

Side by Side Diff: chrome/browser/component_updater/update_response.h

Issue 101043010: Added support for multiple urls in the component updater. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years 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 | Annotate | Revision Log
« no previous file with comments | « chrome/browser/component_updater/test/update_response_unittest.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « chrome/browser/component_updater/test/update_response_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698