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

Side by Side Diff: content/browser/android/download_controller_android_impl.h

Issue 18868005: content: Migrate from googleurl/ includes to url/ ones. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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 // This class pairs with DownloadController on Java side to forward requests 5 // This class pairs with DownloadController on Java side to forward requests
6 // for GET downloads to the current DownloadListener. POST downloads are 6 // for GET downloads to the current DownloadListener. POST downloads are
7 // handled on the native side. 7 // handled on the native side.
8 // 8 //
9 // Both classes are Singleton classes. C++ object owns Java object. 9 // Both classes are Singleton classes. C++ object owns Java object.
10 // 10 //
11 // Call sequence 11 // Call sequence
12 // GET downloads: 12 // GET downloads:
13 // DownloadControllerAndroid::CreateGETDownload() => 13 // DownloadControllerAndroid::CreateGETDownload() =>
14 // DownloadController.newHttpGetDownload() => 14 // DownloadController.newHttpGetDownload() =>
15 // DownloadListener.onDownloadStart() / 15 // DownloadListener.onDownloadStart() /
16 // DownloadListener2.requestHttpGetDownload() 16 // DownloadListener2.requestHttpGetDownload()
17 // 17 //
18 18
19 #ifndef CONTENT_BROWSER_ANDROID_DOWNLOAD_CONTROLLER_ANDROID_IMPL_H_ 19 #ifndef CONTENT_BROWSER_ANDROID_DOWNLOAD_CONTROLLER_ANDROID_IMPL_H_
20 #define CONTENT_BROWSER_ANDROID_DOWNLOAD_CONTROLLER_ANDROID_IMPL_H_ 20 #define CONTENT_BROWSER_ANDROID_DOWNLOAD_CONTROLLER_ANDROID_IMPL_H_
21 21
22 #include <string> 22 #include <string>
23 23
24 #include "base/android/jni_helper.h" 24 #include "base/android/jni_helper.h"
25 #include "base/android/scoped_java_ref.h" 25 #include "base/android/scoped_java_ref.h"
26 #include "base/callback.h" 26 #include "base/callback.h"
27 #include "base/memory/singleton.h" 27 #include "base/memory/singleton.h"
28 #include "content/public/browser/android/download_controller_android.h" 28 #include "content/public/browser/android/download_controller_android.h"
29 #include "content/public/browser/download_item.h" 29 #include "content/public/browser/download_item.h"
30 #include "googleurl/src/gurl.h"
31 #include "net/cookies/cookie_monster.h" 30 #include "net/cookies/cookie_monster.h"
31 #include "url/gurl.h"
32 32
33 namespace net { 33 namespace net {
34 class URLRequest; 34 class URLRequest;
35 } 35 }
36 36
37 namespace content { 37 namespace content {
38 struct GlobalRequestID; 38 struct GlobalRequestID;
39 class RenderViewHost; 39 class RenderViewHost;
40 class WebContents; 40 class WebContents;
41 41
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
120 JavaObject* GetJavaObject(); 120 JavaObject* GetJavaObject();
121 121
122 JavaObject* java_object_; 122 JavaObject* java_object_;
123 123
124 DISALLOW_COPY_AND_ASSIGN(DownloadControllerAndroidImpl); 124 DISALLOW_COPY_AND_ASSIGN(DownloadControllerAndroidImpl);
125 }; 125 };
126 126
127 } // namespace content 127 } // namespace content
128 128
129 #endif // CONTENT_BROWSER_ANDROID_DOWNLOAD_CONTROLLER_ANDROID_IMPL_H_ 129 #endif // CONTENT_BROWSER_ANDROID_DOWNLOAD_CONTROLLER_ANDROID_IMPL_H_
OLDNEW
« no previous file with comments | « content/browser/android/content_view_core_impl.h ('k') | content/browser/android/load_url_params.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698