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/base_switches.h" | 7 #include "base/base_switches.h" |
8 #include "base/command_line.h" | 8 #include "base/command_line.h" |
9 #include "base/files/file_path.h" | 9 #include "base/files/file_path.h" |
10 #include "base/files/file_util.h" | 10 #include "base/files/file_util.h" |
| 11 #include "base/message_loop/message_loop.h" |
11 #include "base/path_service.h" | 12 #include "base/path_service.h" |
12 #include "base/task_scheduler/post_task.h" | 13 #include "base/task_scheduler/post_task.h" |
13 #include "base/trace_event/trace_event.h" | 14 #include "base/trace_event/trace_event.h" |
14 #include "chrome/browser/android/mojo/chrome_interface_registrar_android.h" | 15 #include "chrome/browser/android/mojo/chrome_interface_registrar_android.h" |
15 #include "chrome/browser/android/preferences/clipboard_android.h" | 16 #include "chrome/browser/android/preferences/clipboard_android.h" |
16 #include "chrome/browser/android/seccomp_support_detector.h" | 17 #include "chrome/browser/android/seccomp_support_detector.h" |
17 #include "chrome/browser/browser_process.h" | 18 #include "chrome/browser/browser_process.h" |
18 #include "chrome/browser/signin/signin_manager_factory.h" | 19 #include "chrome/browser/signin/signin_manager_factory.h" |
19 #include "chrome/common/chrome_paths.h" | 20 #include "chrome/common/chrome_paths.h" |
20 #include "chrome/common/descriptors_android.h" | 21 #include "chrome/common/descriptors_android.h" |
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
146 base::PostDelayedTaskWithTraits( | 147 base::PostDelayedTaskWithTraits( |
147 FROM_HERE, {base::MayBlock(), base::TaskPriority::BACKGROUND}, | 148 FROM_HERE, {base::MayBlock(), base::TaskPriority::BACKGROUND}, |
148 base::Bind(&ReportSeccompSupport), base::TimeDelta::FromMinutes(1)); | 149 base::Bind(&ReportSeccompSupport), base::TimeDelta::FromMinutes(1)); |
149 | 150 |
150 RegisterChromeJavaMojoInterfaces(); | 151 RegisterChromeJavaMojoInterfaces(); |
151 } | 152 } |
152 | 153 |
153 void ChromeBrowserMainPartsAndroid::ShowMissingLocaleMessageBox() { | 154 void ChromeBrowserMainPartsAndroid::ShowMissingLocaleMessageBox() { |
154 NOTREACHED(); | 155 NOTREACHED(); |
155 } | 156 } |
OLD | NEW |