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

Unified Diff: components/cronet/android/org_chromium_net_UrlRequest.h

Issue 458633002: Merge UrlRequest.java into ChromiumUrlRequest.java (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address clm's comments. Created 6 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 side-by-side diff with in-line comments
Download patch
Index: components/cronet/android/org_chromium_net_UrlRequest.h
diff --git a/components/cronet/android/org_chromium_net_UrlRequest.h b/components/cronet/android/org_chromium_net_UrlRequest.h
deleted file mode 100644
index 9a8f3d97cd627c80ed6b52a153496f7a2ac51e7d..0000000000000000000000000000000000000000
--- a/components/cronet/android/org_chromium_net_UrlRequest.h
+++ /dev/null
@@ -1,32 +0,0 @@
-// Copyright 2014 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef COMPONENTS_CRONET_ANDROID_URLREQUEST_H_
-#define COMPONENTS_CRONET_ANDROID_URLREQUEST_H_
-
-#include <jni.h>
-
-namespace cronet {
-
-// Define request priority values like REQUEST_PRIORITY_IDLE in a
-// way that ensures they're always the same than their Java counterpart.
-enum UrlRequestPriority {
-#define DEFINE_REQUEST_PRIORITY(x, y) REQUEST_PRIORITY_##x = y,
-#include "components/cronet/android/org_chromium_net_UrlRequest_priority_list.h"
-#undef DEFINE_REQUEST_PRIORITY
-};
-
-// Define request priority values like REQUEST_ERROR_SUCCESS in a
-// way that ensures they're always the same than their Java counterpart.
-enum UrlRequestError {
-#define DEFINE_REQUEST_ERROR(x, y) REQUEST_ERROR_##x = y,
-#include "components/cronet/android/org_chromium_net_UrlRequest_error_list.h"
-#undef DEFINE_REQUEST_ERROR
-};
-
-bool UrlRequestRegisterJni(JNIEnv* env);
-
-} // namespace cronet
-
-#endif // COMPONENTS_CRONET_ANDROID_URLREQUEST_H_

Powered by Google App Engine
This is Rietveld 408576698