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

Side by Side Diff: extensions/common/update_manifest.h

Issue 1543053002: Switch to standard integer types in extensions/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@int-extensions-browser
Patch Set: Created 4 years, 12 months 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
« no previous file with comments | « extensions/common/stack_frame_unittest.cc ('k') | extensions/common/url_pattern.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 EXTENSIONS_COMMON_UPDATE_MANIFEST_H_ 5 #ifndef EXTENSIONS_COMMON_UPDATE_MANIFEST_H_
6 #define EXTENSIONS_COMMON_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 "base/macros.h"
11 #include "url/gurl.h" 12 #include "url/gurl.h"
12 13
13 class UpdateManifest { 14 class UpdateManifest {
14 public: 15 public:
15 // An update manifest looks like this: 16 // An update manifest looks like this:
16 // 17 //
17 // <?xml version="1.0" encoding="UTF-8"?> 18 // <?xml version="1.0" encoding="UTF-8"?>
18 // <gupdate xmlns="http://www.google.com/update2/response" protocol="2.0"> 19 // <gupdate xmlns="http://www.google.com/update2/response" protocol="2.0">
19 // <daystart elapsed_seconds="300" /> 20 // <daystart elapsed_seconds="300" />
20 // <app appid="12345" status="ok"> 21 // <app appid="12345" status="ok">
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 Results results_; 86 Results results_;
86 std::string errors_; 87 std::string errors_;
87 88
88 // Helper function that adds parse error details to our errors_ string. 89 // Helper function that adds parse error details to our errors_ string.
89 void ParseError(const char* details, ...); 90 void ParseError(const char* details, ...);
90 91
91 DISALLOW_COPY_AND_ASSIGN(UpdateManifest); 92 DISALLOW_COPY_AND_ASSIGN(UpdateManifest);
92 }; 93 };
93 94
94 #endif // EXTENSIONS_COMMON_UPDATE_MANIFEST_H_ 95 #endif // EXTENSIONS_COMMON_UPDATE_MANIFEST_H_
OLDNEW
« no previous file with comments | « extensions/common/stack_frame_unittest.cc ('k') | extensions/common/url_pattern.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698