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

Side by Side Diff: google_apis/drive/gdata_wapi_parser.cc

Issue 96413002: Move c/b/google_apis to google_apis/drive. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 7 years 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
« no previous file with comments | « google_apis/drive/gdata_wapi_parser.h ('k') | google_apis/drive/gdata_wapi_parser_unittest.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 (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/google_apis/gdata_wapi_parser.h" 5 #include "google_apis/drive/gdata_wapi_parser.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
11 #include "base/files/file_path.h" 11 #include "base/files/file_path.h"
12 #include "base/json/json_value_converter.h" 12 #include "base/json/json_value_converter.h"
13 #include "base/memory/scoped_ptr.h" 13 #include "base/memory/scoped_ptr.h"
14 #include "base/strings/string_number_conversions.h" 14 #include "base/strings/string_number_conversions.h"
15 #include "base/strings/string_piece.h" 15 #include "base/strings/string_piece.h"
16 #include "base/strings/string_util.h" 16 #include "base/strings/string_util.h"
17 #include "base/strings/utf_string_conversions.h" 17 #include "base/strings/utf_string_conversions.h"
18 #include "base/values.h" 18 #include "base/values.h"
19 #include "chrome/browser/google_apis/time_util.h" 19 #include "google_apis/drive/time_util.h"
20 20
21 using base::Value; 21 using base::Value;
22 using base::DictionaryValue; 22 using base::DictionaryValue;
23 using base::ListValue; 23 using base::ListValue;
24 24
25 namespace google_apis { 25 namespace google_apis {
26 26
27 namespace { 27 namespace {
28 28
29 // Term values for kSchemeKind category: 29 // Term values for kSchemeKind category:
(...skipping 844 matching lines...) Expand 10 before | Expand all | Expand 10 after
874 bool AccountMetadata::Parse(const base::Value& value) { 874 bool AccountMetadata::Parse(const base::Value& value) {
875 base::JSONValueConverter<AccountMetadata> converter; 875 base::JSONValueConverter<AccountMetadata> converter;
876 if (!converter.Convert(value, this)) { 876 if (!converter.Convert(value, this)) {
877 LOG(ERROR) << "Unable to parse: Invalid account metadata feed!"; 877 LOG(ERROR) << "Unable to parse: Invalid account metadata feed!";
878 return false; 878 return false;
879 } 879 }
880 return true; 880 return true;
881 } 881 }
882 882
883 } // namespace google_apis 883 } // namespace google_apis
OLDNEW
« no previous file with comments | « google_apis/drive/gdata_wapi_parser.h ('k') | google_apis/drive/gdata_wapi_parser_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698