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 "chrome/browser/chrome_browser_main_android.h" | 5 #include "chrome/browser/chrome_browser_main_android.h" |
6 | 6 |
7 #include "base/command_line.h" | 7 #include "base/command_line.h" |
8 #include "base/debug/trace_event.h" | 8 #include "base/debug/trace_event.h" |
9 #include "base/path_service.h" | 9 #include "base/path_service.h" |
10 #include "chrome/browser/google/google_search_counter_android.h" | 10 #include "chrome/browser/google/google_search_counter_android.h" |
11 #include "chrome/common/chrome_paths.h" | 11 #include "chrome/common/chrome_paths.h" |
12 #include "chrome/common/chrome_switches.h" | 12 #include "chrome/common/chrome_switches.h" |
13 #include "components/breakpad/app/breakpad_linux.h" | 13 #include "components/breakpad/app/breakpad_linux.h" |
14 #include "components/breakpad/browser/crash_dump_manager_android.h" | 14 #include "components/breakpad/browser/crash_dump_manager_android.h" |
15 #include "content/public/browser/android/compositor.h" | 15 #include "content/public/browser/android/compositor.h" |
16 #include "content/public/common/main_function_params.h" | 16 #include "content/public/common/main_function_params.h" |
17 #include "net/android/network_change_notifier_factory_android.h" | 17 #include "net/android/network_change_notifier_factory_android.h" |
18 #include "net/base/network_change_notifier.h" | 18 #include "net/base/network_change_notifier.h" |
19 #include "ui/base/resource/resource_bundle.h" | |
20 #include "ui/base/ui_base_paths.h" | 19 #include "ui/base/ui_base_paths.h" |
21 | 20 |
22 ChromeBrowserMainPartsAndroid::ChromeBrowserMainPartsAndroid( | 21 ChromeBrowserMainPartsAndroid::ChromeBrowserMainPartsAndroid( |
23 const content::MainFunctionParams& parameters) | 22 const content::MainFunctionParams& parameters) |
24 : ChromeBrowserMainParts(parameters) { | 23 : ChromeBrowserMainParts(parameters) { |
25 } | 24 } |
26 | 25 |
27 ChromeBrowserMainPartsAndroid::~ChromeBrowserMainPartsAndroid() { | 26 ChromeBrowserMainPartsAndroid::~ChromeBrowserMainPartsAndroid() { |
28 } | 27 } |
29 | 28 |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
82 "ChromeBrowserMainPartsAndroid::PreEarlyInitialization:StartUiMsgLoop"); | 81 "ChromeBrowserMainPartsAndroid::PreEarlyInitialization:StartUiMsgLoop"); |
83 base::MessageLoopForUI::current()->Start(); | 82 base::MessageLoopForUI::current()->Start(); |
84 } | 83 } |
85 | 84 |
86 ChromeBrowserMainParts::PreEarlyInitialization(); | 85 ChromeBrowserMainParts::PreEarlyInitialization(); |
87 } | 86 } |
88 | 87 |
89 void ChromeBrowserMainPartsAndroid::ShowMissingLocaleMessageBox() { | 88 void ChromeBrowserMainPartsAndroid::ShowMissingLocaleMessageBox() { |
90 NOTREACHED(); | 89 NOTREACHED(); |
91 } | 90 } |
OLD | NEW |