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

Side by Side Diff: content/public/android/java/src/org/chromium/content_public/browser/DownloadController.java

Issue 141533006: [Android] Move the java content/ package to content_public/ to start the split. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Small fixes and findbugs line update Created 6 years, 11 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 | Annotate | Revision Log
OLDNEW
1 // Copyright 2012 The Chromium Authors. All rights reserved. 1 // Copyright 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 package org.chromium.content.browser; 5 package org.chromium.content_public.browser;
6 6
7 import android.content.Context; 7 import android.content.Context;
8 8
9 import org.chromium.base.CalledByNative; 9 import org.chromium.base.CalledByNative;
10 import org.chromium.base.JNINamespace; 10 import org.chromium.base.JNINamespace;
11 11
12 /** 12 /**
13 * Java counterpart of android DownloadController. 13 * Java counterpart of android DownloadController.
14 * 14 *
15 * Its a singleton class instantiated by the C++ DownloadController. 15 * Its a singleton class instantiated by the C++ DownloadController.
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after
158 int downloadId) { 158 int downloadId) {
159 ContentViewDownloadDelegate downloadDelegate = downloadDelegateFromView( view); 159 ContentViewDownloadDelegate downloadDelegate = downloadDelegateFromView( view);
160 if (downloadDelegate != null) { 160 if (downloadDelegate != null) {
161 downloadDelegate.onDangerousDownload(filename, downloadId); 161 downloadDelegate.onDangerousDownload(filename, downloadId);
162 } 162 }
163 } 163 }
164 164
165 // native methods 165 // native methods
166 private native void nativeInit(); 166 private native void nativeInit();
167 } 167 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698