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

Unified Diff: content/public/android/java/src/org/chromium/content/third_party/ParseException.java

Issue 10913074: Add WebView implementation for CookieManager. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 3 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: content/public/android/java/src/org/chromium/content/third_party/ParseException.java
diff --git a/content/public/android/java/src/org/chromium/content/third_party/ParseException.java b/content/public/android/java/src/org/chromium/content/third_party/ParseException.java
new file mode 100644
index 0000000000000000000000000000000000000000..99ca20dd16ed7904f2ecefc8f3305b0967a5454e
--- /dev/null
+++ b/content/public/android/java/src/org/chromium/content/third_party/ParseException.java
@@ -0,0 +1,34 @@
+/*
Yaron 2012/09/04 21:10:26 Since your'e adding a new third_party repo, should
Ted C 2012/09/05 18:45:35 Talked with joth and we shouldn't be using these a
+ * Copyright (C) 2006 The Android Open Source Project
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+/*
+ * NOTE: This class is taken from the AOSP frameworks/base/core/java/android/net/ParseException.java.
Yaron 2012/09/05 06:10:43 I think you can drop this comment with the licens
+ * The package name is modified and the imports were modified as needed.
+ */
+package org.chromium.content.browser.third_party;
+
+/**
+ *
+ *
+ * When WebAddress Parser Fails, this exception is thrown
+ */
+public class ParseException extends RuntimeException {
+ public String response;
+
+ ParseException(String response) {
+ this.response = response;
+ }
+}

Powered by Google App Engine
This is Rietveld 408576698