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

Side by Side Diff: android_webview/lib/aw_browser_dependency_factory_impl.cc

Issue 10983004: Fix warnings when compiling with clang (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Remove method 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 unified diff | Download patch
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 "android_webview/lib/aw_browser_dependency_factory_impl.h" 5 #include "android_webview/lib/aw_browser_dependency_factory_impl.h"
6 6
7 // TODO(joth): Componentize or remove chrome/... dependencies. 7 // TODO(joth): Componentize or remove chrome/... dependencies.
8 #include "android_webview/browser/net/aw_network_delegate.h" 8 #include "android_webview/browser/net/aw_network_delegate.h"
9 #include "android_webview/native/aw_contents_container.h" 9 #include "android_webview/native/aw_contents_container.h"
10 #include "base/bind.h" 10 #include "base/bind.h"
11 #include "base/bind_helpers.h" 11 #include "base/bind_helpers.h"
12 #include "base/lazy_instance.h" 12 #include "base/lazy_instance.h"
13 #include "base/memory/ref_counted.h" 13 #include "base/memory/ref_counted.h"
14 #include "chrome/browser/browser_process.h" 14 #include "chrome/browser/browser_process.h"
15 #include "chrome/browser/profiles/profile.h" 15 #include "chrome/browser/profiles/profile.h"
16 #include "chrome/browser/profiles/profile_manager.h" 16 #include "chrome/browser/profiles/profile_manager.h"
17 #include "chrome/browser/ui/app_modal_dialogs/javascript_dialog_creator.h" 17 #include "chrome/browser/ui/app_modal_dialogs/javascript_dialog_creator.h"
joth 2012/09/24 23:20:02 can this include be removed now?
michaelbai 2012/09/24 23:25:55 Done.
18 #include "content/public/browser/web_contents.h" 18 #include "content/public/browser/web_contents.h"
19 #include "ipc/ipc_message.h" 19 #include "ipc/ipc_message.h"
20 #include "net/url_request/url_request_context.h" 20 #include "net/url_request/url_request_context.h"
21 #include "net/url_request/url_request_context_getter.h" 21 #include "net/url_request/url_request_context_getter.h"
22 22
23 using content::BrowserContext; 23 using content::BrowserContext;
24 using content::WebContents; 24 using content::WebContents;
25 25
26 namespace android_webview { 26 namespace android_webview {
27 27
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 WebContents* AwBrowserDependencyFactoryImpl::CreateWebContents(bool incognito) { 95 WebContents* AwBrowserDependencyFactoryImpl::CreateWebContents(bool incognito) {
96 return content::WebContents::Create( 96 return content::WebContents::Create(
97 GetBrowserContext(incognito), 0, MSG_ROUTING_NONE, 0); 97 GetBrowserContext(incognito), 0, MSG_ROUTING_NONE, 0);
98 } 98 }
99 99
100 AwContentsContainer* AwBrowserDependencyFactoryImpl::CreateContentsContainer( 100 AwContentsContainer* AwBrowserDependencyFactoryImpl::CreateContentsContainer(
101 content::WebContents* contents) { 101 content::WebContents* contents) {
102 return new WebContentsWrapper(contents); 102 return new WebContentsWrapper(contents);
103 } 103 }
104 104
105 content::JavaScriptDialogCreator*
106 AwBrowserDependencyFactoryImpl::GetJavaScriptDialogCreator() {
107 return GetJavaScriptDialogCreatorInstance();
108 }
109
110 } // namespace android_webview 105 } // namespace android_webview
OLDNEW
« no previous file with comments | « android_webview/lib/aw_browser_dependency_factory_impl.h ('k') | content/browser/android/cookie_getter_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698