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

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: Fixed comments. 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..dbd37a87abc808b8ddb7ac5a37f476fea7f748be
--- /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