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

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

Issue 802343003: Upstream DocumentTabModelImpl and related classes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Moved package, added OWNERS Created 6 years 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
new file mode 100644
index 0000000000000000000000000000000000000000..01e0b1e59e938c21243ac790687122a9c6e558f8
--- /dev/null
+++ b/chrome/android/java/src/org/chromium/chrome/browser/document/PendingDocumentData.java
@@ -0,0 +1,33 @@
+// 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.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.
+ */
+public class PendingDocumentData {
+ /** Pending native web contents object to initialize with. */
+ public long nativeWebContents;
+
+ /** 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;
+}

Powered by Google App Engine
This is Rietveld 408576698