OLD | NEW |
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/browser/aw_browser_main_parts.h" | 5 #include "android_webview/browser/aw_browser_main_parts.h" |
6 | 6 |
7 #include "android_webview/browser/aw_browser_context.h" | 7 #include "android_webview/browser/aw_browser_context.h" |
8 #include "android_webview/browser/aw_result_codes.h" | 8 #include "android_webview/browser/aw_result_codes.h" |
9 #include "android_webview/common/aw_switches.h" | |
10 #include "base/android/build_info.h" | 9 #include "base/android/build_info.h" |
11 #include "base/android/memory_pressure_listener_android.h" | 10 #include "base/android/memory_pressure_listener_android.h" |
12 #include "base/command_line.h" | 11 #include "base/command_line.h" |
13 #include "base/files/file_path.h" | 12 #include "base/files/file_path.h" |
14 #include "base/path_service.h" | 13 #include "base/path_service.h" |
15 #include "content/public/browser/render_process_host.h" | 14 #include "content/public/browser/render_process_host.h" |
16 #include "content/public/common/content_client.h" | 15 #include "content/public/common/content_client.h" |
17 #include "content/public/common/content_switches.h" | 16 #include "content/public/common/content_switches.h" |
18 #include "content/public/common/result_codes.h" | 17 #include "content/public/common/result_codes.h" |
19 #include "content/public/common/url_utils.h" | 18 #include "content/public/common/url_utils.h" |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
77 content::SetMaxURLChars(20 * 1024 * 1024); | 76 content::SetMaxURLChars(20 * 1024 * 1024); |
78 } | 77 } |
79 | 78 |
80 bool AwBrowserMainParts::MainMessageLoopRun(int* result_code) { | 79 bool AwBrowserMainParts::MainMessageLoopRun(int* result_code) { |
81 // Android WebView does not use default MessageLoop. It has its own | 80 // Android WebView does not use default MessageLoop. It has its own |
82 // Android specific MessageLoop. | 81 // Android specific MessageLoop. |
83 return true; | 82 return true; |
84 } | 83 } |
85 | 84 |
86 } // namespace android_webview | 85 } // namespace android_webview |
OLD | NEW |