| 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_test_util.h" | 5 #include "chrome/browser/google_apis/gdata_test_util.h" |
| 6 | 6 |
| 7 #include "base/file_util.h" | 7 #include "base/file_util.h" |
| 8 #include "base/json/json_file_value_serializer.h" | 8 #include "base/json/json_file_value_serializer.h" |
| 9 #include "base/message_loop.h" | 9 #include "base/message_loop.h" |
| 10 #include "base/path_service.h" | 10 #include "base/path_service.h" |
| 11 #include "base/threading/sequenced_worker_pool.h" | 11 #include "base/threading/sequenced_worker_pool.h" |
| 12 #include "chrome/common/chrome_paths.h" | 12 #include "chrome/common/chrome_paths.h" |
| 13 #include "content/public/browser/browser_thread.h" | 13 #include "content/public/browser/browser_thread.h" |
| 14 #include "testing/gtest/include/gtest/gtest.h" | 14 #include "testing/gtest/include/gtest/gtest.h" |
| 15 | 15 |
| (...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 68 std::string error; | 68 std::string error; |
| 69 JSONFileValueSerializer serializer(path); | 69 JSONFileValueSerializer serializer(path); |
| 70 scoped_ptr<base::Value> value(serializer.Deserialize(NULL, &error)); | 70 scoped_ptr<base::Value> value(serializer.Deserialize(NULL, &error)); |
| 71 EXPECT_TRUE(value.get()) << | 71 EXPECT_TRUE(value.get()) << |
| 72 "Parse error " << path.value() << ": " << error; | 72 "Parse error " << path.value() << ": " << error; |
| 73 return value.Pass(); | 73 return value.Pass(); |
| 74 } | 74 } |
| 75 | 75 |
| 76 } // namespace test_util | 76 } // namespace test_util |
| 77 } // namespace gdata | 77 } // namespace gdata |
| OLD | NEW |