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

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

Issue 2626523003: Cronet: a framework for providing alternative Cronet implementations (Closed)
Patch Set: Added context to getName() & getVersion(). Created 3 years, 11 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
(Empty)
1 // Copyright 2017 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 package org.chromium.net;
6
7 import java.util.List;
8
9 /**
10 * Selects a provider that should be used to instantiate the Cronet implementati on.
11 */
12 interface CronetImplProviderSelector {
mef 2017/01/10 23:30:03 can we make it abstract class?
kapishnikov 2017/01/17 22:29:20 This interface was removed in the latest CL.
13 /**
14 * Returns a provider that should be used to instantiate the Cronet implemen tation.
15 *
16 * @param providers the list of available providers.
17 * @return the selected provider to use.
18 */
19 CronetImplProvider select(List<CronetImplProvider> providers);
20 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698