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

Side by Side Diff: plugins/org.chromium.sdk.wipbackend.dev/src-dynamic-impl/parser/org/chromium/sdk/internal/wip/tools/protocolgenerator/WipProtocolGeneratorMain.java

Issue 14743016: Catch up with protocol (Closed) Base URL: https://chromedevtools.googlecode.com/svn/trunk
Patch Set: Created 7 years, 7 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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.sdk.internal.wip.tools.protocolgenerator; 5 package org.chromium.sdk.internal.wip.tools.protocolgenerator;
6 6
7 import java.io.IOException; 7 import java.io.IOException;
8 import java.io.InputStream; 8 import java.io.InputStream;
9 import java.io.InputStreamReader; 9 import java.io.InputStreamReader;
10 import java.io.Reader; 10 import java.io.Reader;
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after
160 if (matcher.find()) { 160 if (matcher.find()) {
161 revision = matcher.group(1); 161 revision = matcher.group(1);
162 } 162 }
163 } 163 }
164 return url + "@" + revision; 164 return url + "@" + revision;
165 } 165 }
166 166
167 private static final Pattern REVISION_PATTERN = Pattern.compile("^\"([\\d]+) //"); 167 private static final Pattern REVISION_PATTERN = Pattern.compile("^\"([\\d]+) //");
168 } 168 }
169 169
170 // Additional URL syntax for a specific revision is ".../blink/!svn/bc/NNNNN/t runk/..."
170 private static final ModelResourceLocation JSON_MODEL_FILE_URL = new RemoteSvn Location( 171 private static final ModelResourceLocation JSON_MODEL_FILE_URL = new RemoteSvn Location(
171 "http://svn.webkit.org/repository/webkit/trunk/Source/WebCore/inspector/In spector.json"); 172 "http://src.chromium.org/blink/trunk/Source/devtools/protocol.json");
172 } 173 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698