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

Unified Diff: chrome/android/java/src/org/chromium/chrome/browser/document/PendingDocumentData.java

Issue 1235523003: Standardize parameters passed when Tabs are created asynchronously. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressing comments Created 5 years, 5 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: chrome/android/java/src/org/chromium/chrome/browser/document/PendingDocumentData.java
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/document/PendingDocumentData.java b/chrome/android/java/src/org/chromium/chrome/browser/document/PendingDocumentData.java
deleted file mode 100644
index 29c25429b1f295438d974a5ac933ad56c4ede480..0000000000000000000000000000000000000000
--- a/chrome/android/java/src/org/chromium/chrome/browser/document/PendingDocumentData.java
+++ /dev/null
@@ -1,39 +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.chrome.browser.document;
-
-import android.content.Intent;
-
-import org.chromium.base.annotations.SuppressFBWarnings;
-import org.chromium.content_public.browser.WebContents;
-import org.chromium.content_public.common.Referrer;
-
-/**
- * Data that will be used later when a tab is opened via an intent. Often only the necessary
- * subset of the data will be set. All data is removed once the tab finishes initializing.
- */
-@SuppressFBWarnings({"URF_UNREAD", "UUF_UNUSED"})
-public class PendingDocumentData {
- /** Pending native web contents object to initialize with. */
- public WebContents webContents;
-
- /** The url to load in the current tab. */
- public String url;
-
- /** Data to send with a POST request. */
- public byte[] postData;
-
- /** Extra HTTP headers to send. */
- public String extraHeaders;
-
- /** HTTP "referer". */
- public Referrer referrer;
-
- /** The original intent */
- public Intent originalIntent;
-
- /** The tab launch request Id from the service tab launcher. **/
- public int requestId;
-}

Powered by Google App Engine
This is Rietveld 408576698