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

Unified Diff: content/public/android/java/src/org/chromium/content/browser/FileDescriptorInfo.java

Issue 10949027: Close leaking FDs. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressed last comments and synced. 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/browser/FileDescriptorInfo.java
diff --git a/content/public/android/java/src/org/chromium/content/browser/FileDescriptorInfo.java b/content/public/android/java/src/org/chromium/content/browser/FileDescriptorInfo.java
new file mode 100644
index 0000000000000000000000000000000000000000..a0db0b9189144c3ed723fbf7cd7ddc039089ebd1
--- /dev/null
+++ b/content/public/android/java/src/org/chromium/content/browser/FileDescriptorInfo.java
@@ -0,0 +1,20 @@
+// Copyright (c) 2012 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.browser;
+
+import org.chromium.base.CalledByNative;
+import org.chromium.base.JNINamespace;
+
+class FileDescriptorInfo {
+ public int mId;
+ public int mFd;
+ public boolean mAutoClose;
+
+ FileDescriptorInfo(int id, int fd, boolean autoClose) {
+ mId = id;
+ mFd = fd;
+ mAutoClose = autoClose;
+ }
+}

Powered by Google App Engine
This is Rietveld 408576698