| OLD | NEW |
| 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_wapi_parser.h" |
| 6 | 6 |
| 7 #include <algorithm> | 7 #include <algorithm> |
| 8 | 8 |
| 9 #include "base/basictypes.h" | 9 #include "base/basictypes.h" |
| 10 #include "base/file_path.h" | 10 #include "base/file_path.h" |
| 11 #include "base/json/json_value_converter.h" | 11 #include "base/json/json_value_converter.h" |
| 12 #include "base/memory/scoped_ptr.h" | 12 #include "base/memory/scoped_ptr.h" |
| 13 #include "base/string_number_conversions.h" | 13 #include "base/string_number_conversions.h" |
| 14 #include "base/string_piece.h" | 14 #include "base/string_piece.h" |
| 15 #include "base/string_util.h" | 15 #include "base/string_util.h" |
| (...skipping 1031 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1047 bool AccountMetadataFeed::Parse(const base::Value& value) { | 1047 bool AccountMetadataFeed::Parse(const base::Value& value) { |
| 1048 base::JSONValueConverter<AccountMetadataFeed> converter; | 1048 base::JSONValueConverter<AccountMetadataFeed> converter; |
| 1049 if (!converter.Convert(value, this)) { | 1049 if (!converter.Convert(value, this)) { |
| 1050 LOG(ERROR) << "Unable to parse: Invalid account metadata feed!"; | 1050 LOG(ERROR) << "Unable to parse: Invalid account metadata feed!"; |
| 1051 return false; | 1051 return false; |
| 1052 } | 1052 } |
| 1053 return true; | 1053 return true; |
| 1054 } | 1054 } |
| 1055 | 1055 |
| 1056 } // namespace gdata | 1056 } // namespace gdata |
| OLD | NEW |