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

Side by Side 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2014 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 package org.chromium.content_public;
6
7 /**
8 * Container that holds together a referrer URL along with the referrer policy s et on the
9 * originating frame. This corresponds to native content/public/common/referrer. h.
10 */
11 public class Referrer {
12 private final String mUrl;
13 private final int mPolicy;
14
15 public Referrer(String url, int policy) {
16 mUrl = url;
17 mPolicy = policy;
18 }
19
20 public String getUrl() {
21 return mUrl;
22 }
23
24 public int getPolicy() {
25 return mPolicy;
26 }
27 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698