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

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

Issue 2699663003: Convert utility process extension ParseUpdate IPC to mojo (Closed)
Patch Set: Sync to ToT, see if git apply issue and try jobs are happy. Created 3 years, 10 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/typemaps.gni ('k') | extensions/common/update_manifest.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
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 57
58 // Attributes for the differential update. 58 // Attributes for the differential update.
59 GURL diff_crx_url; 59 GURL diff_crx_url;
60 std::string diff_package_hash; 60 std::string diff_package_hash;
61 int diff_size; 61 int diff_size;
62 }; 62 };
63 63
64 static const int kNoDaystart = -1; 64 static const int kNoDaystart = -1;
65 struct Results { 65 struct Results {
66 Results(); 66 Results();
67 Results(const Results& other);
67 ~Results(); 68 ~Results();
68 69
69 std::vector<Result> list; 70 std::vector<Result> list;
70 // This will be >= 0, or kNoDaystart if the <daystart> tag was not present. 71 // This will be >= 0, or kNoDaystart if the <daystart> tag was not present.
71 int daystart_elapsed_seconds; 72 int daystart_elapsed_seconds;
72 }; 73 };
73 74
74 UpdateManifest(); 75 UpdateManifest();
75 ~UpdateManifest(); 76 ~UpdateManifest();
76 77
(...skipping 10 matching lines...) Expand all
87 Results results_; 88 Results results_;
88 std::string errors_; 89 std::string errors_;
89 90
90 // Helper function that adds parse error details to our errors_ string. 91 // Helper function that adds parse error details to our errors_ string.
91 void ParseError(const char* details, ...); 92 void ParseError(const char* details, ...);
92 93
93 DISALLOW_COPY_AND_ASSIGN(UpdateManifest); 94 DISALLOW_COPY_AND_ASSIGN(UpdateManifest);
94 }; 95 };
95 96
96 #endif // EXTENSIONS_COMMON_UPDATE_MANIFEST_H_ 97 #endif // EXTENSIONS_COMMON_UPDATE_MANIFEST_H_
OLDNEW
« no previous file with comments | « extensions/common/typemaps.gni ('k') | extensions/common/update_manifest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698