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

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

Issue 3181028: FBTB: Remove unneeded #includes of base/ref_counted.h and base/string16.h in src/chrome. (Closed)
Patch Set: should now build? 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
« no previous file with comments | « chrome/common/extensions/update_manifest.h ('k') | chrome/common/font_loader_mac.h » ('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 (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 #include "chrome/common/extensions/update_manifest.h" 5 #include "chrome/common/extensions/update_manifest.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 8
9 #include "base/scoped_ptr.h"
9 #include "base/stl_util-inl.h" 10 #include "base/stl_util-inl.h"
10 #include "base/string_util.h" 11 #include "base/string_util.h"
11 #include "base/string_number_conversions.h" 12 #include "base/string_number_conversions.h"
12 #include "base/version.h" 13 #include "base/version.h"
13 #include "chrome/common/libxml_utils.h" 14 #include "chrome/common/libxml_utils.h"
14 #include "libxml/tree.h" 15 #include "libxml/tree.h"
15 16
16 static const char* kExpectedGupdateProtocol = "2.0"; 17 static const char* kExpectedGupdateProtocol = "2.0";
17 static const char* kExpectedGupdateXmlns = 18 static const char* kExpectedGupdateXmlns =
18 "http://www.google.com/update2/response"; 19 "http://www.google.com/update2/response";
(...skipping 230 matching lines...) Expand 10 before | Expand all | Expand 10 after
249 std::string error; 250 std::string error;
250 if (!ParseSingleAppTag(apps[i], gupdate_ns, &current, &error)) { 251 if (!ParseSingleAppTag(apps[i], gupdate_ns, &current, &error)) {
251 ParseError("%s", error.c_str()); 252 ParseError("%s", error.c_str());
252 } else { 253 } else {
253 results_.list.push_back(current); 254 results_.list.push_back(current);
254 } 255 }
255 } 256 }
256 257
257 return true; 258 return true;
258 } 259 }
OLDNEW
« no previous file with comments | « chrome/common/extensions/update_manifest.h ('k') | chrome/common/font_loader_mac.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698