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 COMPONENTS_COMPONENT_UPDATER_UPDATE_RESPONSE_H_ |
6 #define CHROME_BROWSER_COMPONENT_UPDATER_UPDATE_RESPONSE_H_ | 6 #define COMPONENTS_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" |
11 #include "url/gurl.h" | 11 #include "url/gurl.h" |
12 | 12 |
13 namespace component_updater { | 13 namespace component_updater { |
14 | 14 |
15 // Parses responses for the update protocol version 3. | 15 // Parses responses for the update protocol version 3. |
16 // (http://code.google.com/p/omaha/wiki/ServerProtocol) | 16 // (http://code.google.com/p/omaha/wiki/ServerProtocol) |
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
124 std::string errors_; | 124 std::string errors_; |
125 | 125 |
126 // Adds parse error details to |errors_| string. | 126 // Adds parse error details to |errors_| string. |
127 void ParseError(const char* details, ...); | 127 void ParseError(const char* details, ...); |
128 | 128 |
129 DISALLOW_COPY_AND_ASSIGN(UpdateResponse); | 129 DISALLOW_COPY_AND_ASSIGN(UpdateResponse); |
130 }; | 130 }; |
131 | 131 |
132 } // namespace component_updater | 132 } // namespace component_updater |
133 | 133 |
134 #endif // CHROME_BROWSER_COMPONENT_UPDATER_UPDATE_RESPONSE_H_ | 134 #endif // COMPONENTS_COMPONENT_UPDATER_UPDATE_RESPONSE_H_ |
OLD | NEW |