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

Side by Side Diff: content/browser/android/download_controller.cc

Issue 10798010: Uses gyp "rules" rather than "actions" templates for the JNI generator. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Typo on content_jni.gypi Created 8 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 #include "content/browser/android/download_controller.h" 5 #include "content/browser/android/download_controller.h"
6 6
7 #include "base/android/jni_android.h" 7 #include "base/android/jni_android.h"
8 #include "base/android/jni_string.h" 8 #include "base/android/jni_string.h"
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/logging.h" 10 #include "base/logging.h"
11 #include "base/memory/scoped_ptr.h" 11 #include "base/memory/scoped_ptr.h"
12 #include "content/browser/android/content_view_core_impl.h" 12 #include "content/browser/android/content_view_core_impl.h"
13 #include "content/browser/download/download_item_impl.h" 13 #include "content/browser/download/download_item_impl.h"
14 #include "content/browser/renderer_host/render_process_host_impl.h" 14 #include "content/browser/renderer_host/render_process_host_impl.h"
15 #include "content/browser/renderer_host/render_view_host_delegate.h" 15 #include "content/browser/renderer_host/render_view_host_delegate.h"
16 #include "content/browser/renderer_host/render_view_host_impl.h" 16 #include "content/browser/renderer_host/render_view_host_impl.h"
17 #include "content/browser/renderer_host/resource_dispatcher_host_impl.h" 17 #include "content/browser/renderer_host/resource_dispatcher_host_impl.h"
18 #include "content/browser/web_contents/web_contents_impl.h" 18 #include "content/browser/web_contents/web_contents_impl.h"
19 #include "content/public/browser/browser_thread.h" 19 #include "content/public/browser/browser_thread.h"
20 #include "content/public/browser/global_request_id.h" 20 #include "content/public/browser/global_request_id.h"
21 #include "jni/download_controller_jni.h" 21 #include "jni/DownloadController_jni.h"
22 #include "net/cookies/cookie_options.h" 22 #include "net/cookies/cookie_options.h"
23 #include "net/cookies/cookie_store.h" 23 #include "net/cookies/cookie_store.h"
24 #include "net/http/http_request_headers.h" 24 #include "net/http/http_request_headers.h"
25 #include "net/url_request/url_request.h" 25 #include "net/url_request/url_request.h"
26 #include "net/url_request/url_request_context.h" 26 #include "net/url_request/url_request_context.h"
27 27
28 using base::android::AttachCurrentThread; 28 using base::android::AttachCurrentThread;
29 using base::android::CheckException; 29 using base::android::CheckException;
30 using base::android::ConvertUTF8ToJavaString; 30 using base::android::ConvertUTF8ToJavaString;
31 using base::android::GetClass; 31 using base::android::GetClass;
(...skipping 278 matching lines...) Expand 10 before | Expand all | Expand 10 after
310 request->extra_request_headers().GetHeader( 310 request->extra_request_headers().GetHeader(
311 net::HttpRequestHeaders::kUserAgent, 311 net::HttpRequestHeaders::kUserAgent,
312 &user_agent); 312 &user_agent);
313 if (!request->url_chain().empty()) { 313 if (!request->url_chain().empty()) {
314 original_url = request->url_chain().front(); 314 original_url = request->url_chain().front();
315 url = request->url_chain().back(); 315 url = request->url_chain().back();
316 } 316 }
317 } 317 }
318 318
319 } // namespace content 319 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/android/content_view_statics.cc ('k') | content/browser/android/remote_debugging_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698