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

Unified Diff: components/cronet/README.md

Issue 2339223002: Cronet API Refactoring (Closed)
Patch Set: Rebase & Conflict Resolution Created 4 years, 2 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 | « no previous file | components/cronet/android/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/cronet/README.md
diff --git a/components/cronet/README.md b/components/cronet/README.md
index b61d4c8920892dc5d75c7e7336833146b7be696a..a2d48aef425faedbdc0a5b3d4ccca32488dc9600 100644
--- a/components/cronet/README.md
+++ b/components/cronet/README.md
@@ -72,8 +72,8 @@ Make a request like this:
CronetEngine engine = engineBuilder.build();
Executor executor = Executors.newSingleThreadExecutor();
MyCallback callback = new MyCallback();
- UrlRequest.Builder requestBuilder = new UrlRequest.Builder(
- "https://www.example.com", callback, executor, engine);
+ UrlRequest.Builder requestBuilder = engine.newUrlRequestBuilder(
+ "https://www.example.com", callback, executor);
UrlRequest request = requestBuilder.build();
request.start();
« no previous file with comments | « no previous file | components/cronet/android/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698