| 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 #ifndef CHROME_BROWSER_GOOGLE_APIS_TEST_UTIL_H_ | 5 #ifndef CHROME_BROWSER_GOOGLE_APIS_TEST_UTIL_H_ |
| 6 #define CHROME_BROWSER_GOOGLE_APIS_TEST_UTIL_H_ | 6 #define CHROME_BROWSER_GOOGLE_APIS_TEST_UTIL_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
| 11 #include "chrome/browser/google_apis/gdata_errorcode.h" | 11 #include "chrome/browser/google_apis/gdata_errorcode.h" |
| 12 #include "googleurl/src/gurl.h" | 12 |
| 13 class GURL; |
| 13 | 14 |
| 14 namespace base { | 15 namespace base { |
| 15 class FilePath; | 16 class FilePath; |
| 16 class Value; | 17 class Value; |
| 17 } | 18 } |
| 18 | 19 |
| 19 namespace google_apis { | 20 namespace google_apis { |
| 20 | 21 |
| 21 class AppList; | 22 class AppList; |
| 22 class AccountMetadataFeed; | 23 class AccountMetadataFeed; |
| (...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 150 // Returns true if |json_data| is not NULL and equals to the content in | 151 // Returns true if |json_data| is not NULL and equals to the content in |
| 151 // |expected_json_file_path|. The failure reason will be logged into LOG(ERROR) | 152 // |expected_json_file_path|. The failure reason will be logged into LOG(ERROR) |
| 152 // if necessary. | 153 // if necessary. |
| 153 bool VerifyJsonData(const base::FilePath& expected_json_file_path, | 154 bool VerifyJsonData(const base::FilePath& expected_json_file_path, |
| 154 const base::Value* json_data); | 155 const base::Value* json_data); |
| 155 | 156 |
| 156 } // namespace test_util | 157 } // namespace test_util |
| 157 } // namespace google_apis | 158 } // namespace google_apis |
| 158 | 159 |
| 159 #endif // CHROME_BROWSER_GOOGLE_APIS_TEST_UTIL_H_ | 160 #endif // CHROME_BROWSER_GOOGLE_APIS_TEST_UTIL_H_ |
| OLD | NEW |