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

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

Issue 3037044: FBTF: Remove unneeded headers from base/ (part 3) (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 4 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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 CHROME_COMMON_EXTENSIONS_UPDATE_MANIFEST_H_
6 #define CHROME_COMMON_EXTENSIONS_UPDATE_MANIFEST_H_ 6 #define CHROME_COMMON_EXTENSIONS_UPDATE_MANIFEST_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
11 11
12 #include "base/logging.h" 12 #include "base/logging.h"
13 #include "base/scoped_ptr.h" 13 #include "base/scoped_ptr.h"
14 #include "base/values.h"
15 #include "base/version.h"
16 #include "googleurl/src/gurl.h" 14 #include "googleurl/src/gurl.h"
17 15
18 class Version;
19
20 class UpdateManifest { 16 class UpdateManifest {
21 public: 17 public:
22 18
23 // An update manifest looks like this: 19 // An update manifest looks like this:
24 // 20 //
25 // <?xml version='1.0' encoding='UTF-8'?> 21 // <?xml version='1.0' encoding='UTF-8'?>
26 // <gupdate xmlns='http://www.google.com/update2/response' protocol='2.0'> 22 // <gupdate xmlns='http://www.google.com/update2/response' protocol='2.0'>
27 // <daystart elapsed_seconds='300' /> 23 // <daystart elapsed_seconds='300' />
28 // <app appid='12345'> 24 // <app appid='12345'>
29 // <updatecheck codebase='http://example.com/extension_1.2.3.4.crx' 25 // <updatecheck codebase='http://example.com/extension_1.2.3.4.crx'
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 Results results_; 68 Results results_;
73 std::string errors_; 69 std::string errors_;
74 70
75 // Helper function that adds parse error details to our errors_ string. 71 // Helper function that adds parse error details to our errors_ string.
76 void ParseError(const char* details, ...); 72 void ParseError(const char* details, ...);
77 73
78 DISALLOW_COPY_AND_ASSIGN(UpdateManifest); 74 DISALLOW_COPY_AND_ASSIGN(UpdateManifest);
79 }; 75 };
80 76
81 #endif // CHROME_COMMON_EXTENSIONS_UPDATE_MANIFEST_H_ 77 #endif // CHROME_COMMON_EXTENSIONS_UPDATE_MANIFEST_H_
82
OLDNEW
« no previous file with comments | « chrome/common/extensions/extension.cc ('k') | chrome/common/extensions/update_manifest_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698