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

Side by Side Diff: chrome/browser/android/android_protocol_adapter.h

Issue 10832034: Upstreaming AndroidProtocolAdapter. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 4 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 (c) 2012 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 #ifndef CHROME_BROWSER_ANDROID_ANDROID_PROTOCOL_ADAPTER_H_
6 #define CHROME_BROWSER_ANDROID_ANDROID_PROTOCOL_ADAPTER_H_
7
8 #include <jni.h>
9
10 #include "net/url_request/url_request.h"
11
12 class AndroidProtocolAdapter {
13 public:
14 static net::URLRequest::ProtocolFactory Factory;
15
16 // Register the protocol factories for all supported Android protocol
17 // schemes.
18 static bool RegisterProtocols(JNIEnv* env);
19
20 private:
21 DISALLOW_IMPLICIT_CONSTRUCTORS(AndroidProtocolAdapter);
22 };
23
24 #endif // CHROME_BROWSER_ANDROID_ANDROID_PROTOCOL_ADAPTER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698