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

Unified Diff: chrome/test/data/mock-link-doctor.json

Issue 137623011: Switch to using the new Link Doctor API. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Response to pkasting's comments, part 2 Created 6 years, 10 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
Index: chrome/test/data/mock-link-doctor.json
===================================================================
--- chrome/test/data/mock-link-doctor.json (revision 0)
+++ chrome/test/data/mock-link-doctor.json (revision 0)
@@ -0,0 +1,31 @@
+{
+ "result": {
+ "UrlCorrections": [
+ {
+ "correctionType": "reloadPage",
+ "urlCorrection": "http://reload/",
+ "clickTrackingUrl": "http://reload_tracking/"
+ },
+ {
+ "correctionType": "urlCorrection",
+ "urlCorrection": "http://correction1/",
+ "clickTrackingUrl": "http://tracking1/"
+ },
+ {
+ "correctionType": "urlCorrection",
+ "urlCorrection": "http://correction1/",
+ "clickTrackingUrl": "http://tracking1/"
+ },
+ {
+ "correctionType": "contentOverlap",
+ "urlCorrection": "http://correction2/",
+ "clickTrackingUrl": "http://tracking2/"
+ },
+ {
+ "correctionType": "webSearchQuery",
+ "urlCorrection": "search query",
+ "clickTrackingUrl": "http://tracking2/"
+ }
+ ]
+ }
+}
Property changes on: chrome\test\data\mock-link-doctor.json
___________________________________________________________________
Added: svn:eol-style
+ LF

Powered by Google App Engine
This is Rietveld 408576698