Index: chrome/browser/google_apis/gdata_wapi_operations_unittest.cc |
diff --git a/chrome/browser/google_apis/gdata_wapi_operations_unittest.cc b/chrome/browser/google_apis/gdata_wapi_operations_unittest.cc |
index 9b463b2e17a6db238f884df19bb61ea2aad87fb3..ff599bbf2c108f2905379664e0f78632a66f8d09 100644 |
--- a/chrome/browser/google_apis/gdata_wapi_operations_unittest.cc |
+++ b/chrome/browser/google_apis/gdata_wapi_operations_unittest.cc |
@@ -117,12 +117,6 @@ class GDataWapiOperationsTest : public testing::Test { |
remaining_path.substr(1), net::UnescapeRule::URL_SPECIAL_CHARS); |
if (resource_id == "file:2_file_resource_id") { |
// Check if this is an authorization request for an app. |
hashimoto
2013/03/25 12:11:24
nit: Do we need to maintain this comment?
hidehiko
2013/03/25 12:41:34
Oops. Good catch. Removed.
|
- if (request.method == test_server::METHOD_PUT && |
- request.content.find("<docs:authorizedApp>") != std::string::npos) { |
- return test_util::CreateHttpResponseFromFile( |
- test_util::GetTestFilePath("chromeos/gdata/basic_feed.json")); |
- } |
- |
return test_util::CreateHttpResponseFromFile( |
test_util::GetTestFilePath("chromeos/gdata/file_entry.json")); |
} else if (resource_id == "folder:root/contents" && |
@@ -702,7 +696,7 @@ TEST_F(GDataWapiOperationsTest, RenameResourceOperation) { |
TEST_F(GDataWapiOperationsTest, AuthorizeAppOperation_ValidFeed) { |
GDataErrorCode result_code = GDATA_OTHER_ERROR; |
- scoped_ptr<base::Value> result_data; |
+ GURL result_data; |
// Authorize an app with APP_ID to access to a document. |
AuthorizeAppOperation* operation = new AuthorizeAppOperation( |
@@ -738,7 +732,7 @@ TEST_F(GDataWapiOperationsTest, AuthorizeAppOperation_ValidFeed) { |
TEST_F(GDataWapiOperationsTest, AuthorizeAppOperation_InvalidFeed) { |
GDataErrorCode result_code = GDATA_OTHER_ERROR; |
- scoped_ptr<base::Value> result_data; |
+ GURL result_data; |
// Authorize an app with APP_ID to access to a document but an invalid feed. |
AuthorizeAppOperation* operation = new AuthorizeAppOperation( |