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

Side by Side Diff: java/org/chromium/distiller/PageParamInfo.java

Issue 1029593003: implement validations of pagination URLs (Closed) Base URL: https://github.com/chromium/dom-distiller.git@master
Patch Set: copyright 2016 -> 2015 Created 5 years, 8 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 unified diff | Download patch
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 package org.chromium.distiller; 5 package org.chromium.distiller;
6 6
7 import java.util.ArrayList; 7 import java.util.ArrayList;
8 import java.util.List; 8 import java.util.List;
9 9
10 /** 10 /**
11 * This class stores information about the page parameter detected from potentia l pagination URLs 11 * This class stores information about the page parameter detected from potentia l pagination URLs
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after
120 String str = new String("Type: " + mType + "\nPageInfo: " + mAllPageInfo. size()); 120 String str = new String("Type: " + mType + "\nPageInfo: " + mAllPageInfo. size());
121 for (PageInfo page : mAllPageInfo) { 121 for (PageInfo page : mAllPageInfo) {
122 str += "\n " + page.toString(); 122 str += "\n " + page.toString();
123 } 123 }
124 str += "\nsinglePageUrl: " + mSinglePageUrl + 124 str += "\nsinglePageUrl: " + mSinglePageUrl +
125 "\nformula: " + (mFormula == null ? "null" : mFormula.toString()) ; 125 "\nformula: " + (mFormula == null ? "null" : mFormula.toString()) ;
126 return str; 126 return str;
127 } 127 }
128 128
129 } 129 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698