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

Unified Diff: net/android/gurl_utils.h

Issue 11416347: Adding java implementation for Geolocation (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Updated comment and copyright date Created 8 years 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
Index: net/android/gurl_utils.h
diff --git a/net/quic/crypto/crypto_protocol.cc b/net/android/gurl_utils.h
similarity index 51%
copy from net/quic/crypto/crypto_protocol.cc
copy to net/android/gurl_utils.h
index ba87906124b1cbaa5781c1f4341d4299e9e14376..aeeecf7b4f4ed71a48547a98d64b2b0ef327facf 100644
--- a/net/quic/crypto/crypto_protocol.cc
+++ b/net/android/gurl_utils.h
@@ -2,11 +2,15 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "net/quic/crypto/crypto_protocol.h"
willchan no longer on Chromium 2012/12/13 22:44:29 Hehe, I don't think branching is really what you w
Kristian Monsen 2012/12/13 23:32:32 I was wondering about this as well, I think it is
+#ifndef NET_ANDROID_GURL_UTILS_H_
+#define NET_ANDROID_GURL_UTILS_H_
+
+#include <jni.h>
willchan no longer on Chromium 2012/12/13 22:44:29 Can we just forward declare JNIEnv?
Kristian Monsen 2012/12/13 23:32:32 It doesn't actually need to be (read can't I think
willchan no longer on Chromium 2012/12/13 23:41:09 Magic included? I don't know what that means. Do y
namespace net {
-CryptoHandshakeMessage::CryptoHandshakeMessage() {}
-CryptoHandshakeMessage::~CryptoHandshakeMessage() {}
+bool RegisterGURLUtils(JNIEnv* env);
+
+} // net namespace
-} // namespace net
+#endif // NET_ANDROID_GURL_UTILS_H_

Powered by Google App Engine
This is Rietveld 408576698