| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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_COMMON_EXTENSIONS_UPDATE_MANIFEST_H_ | 5 #ifndef EXTENSIONS_COMMON_UPDATE_MANIFEST_H_ |
| 6 #define CHROME_COMMON_EXTENSIONS_UPDATE_MANIFEST_H_ | 6 #define EXTENSIONS_COMMON_UPDATE_MANIFEST_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| 11 #include "url/gurl.h" | 11 #include "url/gurl.h" |
| 12 | 12 |
| 13 class UpdateManifest { | 13 class UpdateManifest { |
| 14 public: | 14 public: |
| 15 | 15 |
| 16 // An update manifest looks like this: | 16 // An update manifest looks like this: |
| (...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 85 private: | 85 private: |
| 86 Results results_; | 86 Results results_; |
| 87 std::string errors_; | 87 std::string errors_; |
| 88 | 88 |
| 89 // Helper function that adds parse error details to our errors_ string. | 89 // Helper function that adds parse error details to our errors_ string. |
| 90 void ParseError(const char* details, ...); | 90 void ParseError(const char* details, ...); |
| 91 | 91 |
| 92 DISALLOW_COPY_AND_ASSIGN(UpdateManifest); | 92 DISALLOW_COPY_AND_ASSIGN(UpdateManifest); |
| 93 }; | 93 }; |
| 94 | 94 |
| 95 #endif // CHROME_COMMON_EXTENSIONS_UPDATE_MANIFEST_H_ | 95 #endif // EXTENSIONS_COMMON_UPDATE_MANIFEST_H_ |
| OLD | NEW |