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

Side by Side Diff: chrome/browser/chromeos/gdata/gdata_parser.cc

Issue 10251004: Move libxml_utils from chrome/common to third_party/libxml/chromium. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add USE_SYSTEM_LIBXML define. Created 8 years, 7 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/browser/chromeos/gdata/gdata_parser.h" 5 #include "chrome/browser/chromeos/gdata/gdata_parser.h"
6 6
7 #include "base/basictypes.h" 7 #include "base/basictypes.h"
8 #include "base/file_path.h" 8 #include "base/file_path.h"
9 #include "base/json/json_value_converter.h" 9 #include "base/json/json_value_converter.h"
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
11 #include "base/string_number_conversions.h" 11 #include "base/string_number_conversions.h"
12 #include "base/string_piece.h" 12 #include "base/string_piece.h"
13 #include "base/string_util.h" 13 #include "base/string_util.h"
14 #include "base/utf_string_conversions.h" 14 #include "base/utf_string_conversions.h"
15 #include "base/values.h" 15 #include "base/values.h"
16 #include "chrome/common/libxml_utils.h" 16 #include "libxml/libxml_utils.h"
17 17
18 using base::Value; 18 using base::Value;
19 using base::DictionaryValue; 19 using base::DictionaryValue;
20 using base::ListValue; 20 using base::ListValue;
21 21
22 namespace gdata { 22 namespace gdata {
23 23
24 namespace { 24 namespace {
25 25
26 // Term values for kSchemeKind category: 26 // Term values for kSchemeKind category:
(...skipping 896 matching lines...) Expand 10 before | Expand all | Expand 10 after
923 bool AccountMetadataFeed::Parse(const base::Value& value) { 923 bool AccountMetadataFeed::Parse(const base::Value& value) {
924 base::JSONValueConverter<AccountMetadataFeed> converter; 924 base::JSONValueConverter<AccountMetadataFeed> converter;
925 if (!converter.Convert(value, this)) { 925 if (!converter.Convert(value, this)) {
926 LOG(ERROR) << "Unable to parse: Invalid account metadata feed!"; 926 LOG(ERROR) << "Unable to parse: Invalid account metadata feed!";
927 return false; 927 return false;
928 } 928 }
929 return true; 929 return true;
930 } 930 }
931 931
932 } // namespace gdata 932 } // namespace gdata
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698