Index: chrome/browser/google_apis/fake_drive_service.cc |
diff --git a/chrome/browser/google_apis/fake_drive_service.cc b/chrome/browser/google_apis/fake_drive_service.cc |
index 20253a6d8723f6c61b340174fcedacfef6a16363..5a4ac74197c3addf86acd72027c9027b3746c75c 100644 |
--- a/chrome/browser/google_apis/fake_drive_service.cc |
+++ b/chrome/browser/google_apis/fake_drive_service.cc |
@@ -346,9 +346,13 @@ void FakeDriveService::ContinueGetResourceList( |
if (parameters[i].first == "changestamp") { |
base::StringToInt64(parameters[i].second, &start_changestamp); |
} else if (parameters[i].first == "q") { |
- search_query = parameters[i].second; |
+ search_query = |
+ net::UnescapeURLComponent(parameters[i].second, |
+ net::UnescapeRule::URL_SPECIAL_CHARS); |
} else if (parameters[i].first == "parent") { |
- directory_resource_id = parameters[i].second; |
+ directory_resource_id = |
+ net::UnescapeURLComponent(parameters[i].second, |
+ net::UnescapeRule::URL_SPECIAL_CHARS); |
} else if (parameters[i].first == "start-offset") { |
base::StringToInt(parameters[i].second, &start_offset); |
} else if (parameters[i].first == "max-results") { |