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

Side by Side Diff: components/cronet/android/java/src/org/chromium/net/ChromiumUrlRequestFactory.java

Issue 1078343002: Move several annotations to annotations package. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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.net; 5 package org.chromium.net;
6 6
7 import android.content.Context; 7 import android.content.Context;
8 import android.os.Build; 8 import android.os.Build;
9 9
10 import org.chromium.base.UsedByReflection; 10 import org.chromium.base.annotations.UsedByReflection;
11 11
12 import java.nio.channels.WritableByteChannel; 12 import java.nio.channels.WritableByteChannel;
13 import java.util.Map; 13 import java.util.Map;
14 14
15 /** 15 /**
16 * Network request factory using the native http stack implementation. 16 * Network request factory using the native http stack implementation.
17 */ 17 */
18 @UsedByReflection("HttpUrlRequestFactory.java") 18 @UsedByReflection("HttpUrlRequestFactory.java")
19 public class ChromiumUrlRequestFactory extends HttpUrlRequestFactory { 19 public class ChromiumUrlRequestFactory extends HttpUrlRequestFactory {
20 private ChromiumUrlRequestContext mRequestContext; 20 private ChromiumUrlRequestContext mRequestContext;
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 64
65 @Override 65 @Override
66 public void stopNetLog() { 66 public void stopNetLog() {
67 mRequestContext.stopNetLog(); 67 mRequestContext.stopNetLog();
68 } 68 }
69 69
70 public ChromiumUrlRequestContext getRequestContext() { 70 public ChromiumUrlRequestContext getRequestContext() {
71 return mRequestContext; 71 return mRequestContext;
72 } 72 }
73 } 73 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698