Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(247)

Unified Diff: chrome/test/data/drive/error.json

Issue 19771024: Parse content in the response for upload iff the upload is successfully done. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/google_apis/drive_api_requests_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/data/drive/error.json
diff --git a/chrome/test/data/drive/error.json b/chrome/test/data/drive/error.json
new file mode 100644
index 0000000000000000000000000000000000000000..23b2d903bd97274847357f2aaf8d056ff945b1ee
--- /dev/null
+++ b/chrome/test/data/drive/error.json
@@ -0,0 +1,16 @@
+{
+ "error": {
+ "errors": [
+ {
+ "domain": "global",
+ "reason": "conditionNotMet",
+ "message": "Precondition Failed",
+ "locationType": "header",
+ "location": "If-Match",
+ "debugInfo": "code: CONDITION_NOT_MET\nhttp status: 412\ncause: ...",
+ }
+ ],
+ "code": 412,
+ "message": "Precondition Failed"
+ }
+}
« no previous file with comments | « chrome/browser/google_apis/drive_api_requests_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698