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

Unified Diff: content/public/android/java/src/org/chromium/content_public/Referrer.java

Issue 584523003: Create org.chromium.content_public.common and move two classes there. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@use_display_in_shortcuthelper
Patch Set: Created 6 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_public/Referrer.java
diff --git a/content/public/android/java/src/org/chromium/content_public/Referrer.java b/content/public/android/java/src/org/chromium/content_public/Referrer.java
deleted file mode 100644
index efb3e0c781b2853bc07d2ec7bcfe3b0aaf666bb0..0000000000000000000000000000000000000000
--- a/content/public/android/java/src/org/chromium/content_public/Referrer.java
+++ /dev/null
@@ -1,27 +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.
-
-package org.chromium.content_public;
-
-/**
- * Container that holds together a referrer URL along with the referrer policy set on the
- * originating frame. This corresponds to native content/public/common/referrer.h.
- */
-public class Referrer {
- private final String mUrl;
- private final int mPolicy;
-
- public Referrer(String url, int policy) {
- mUrl = url;
- mPolicy = policy;
- }
-
- public String getUrl() {
- return mUrl;
- }
-
- public int getPolicy() {
- return mPolicy;
- }
-}

Powered by Google App Engine
This is Rietveld 408576698