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" |
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
137 base::MessageLoopForUI::current()->Start(); | 137 base::MessageLoopForUI::current()->Start(); |
138 } | 138 } |
139 | 139 |
140 ChromeBrowserMainParts::PreEarlyInitialization(); | 140 ChromeBrowserMainParts::PreEarlyInitialization(); |
141 } | 141 } |
142 | 142 |
143 void ChromeBrowserMainPartsAndroid::PostBrowserStart() { | 143 void ChromeBrowserMainPartsAndroid::PostBrowserStart() { |
144 ChromeBrowserMainParts::PostBrowserStart(); | 144 ChromeBrowserMainParts::PostBrowserStart(); |
145 | 145 |
146 base::PostDelayedTaskWithTraits( | 146 base::PostDelayedTaskWithTraits( |
147 FROM_HERE, base::TaskTraits().MayBlock().WithPriority( | 147 FROM_HERE, {base::MayBlock(), base::TaskPriority::BACKGROUND}, |
148 base::TaskPriority::BACKGROUND), | |
149 base::Bind(&ReportSeccompSupport), base::TimeDelta::FromMinutes(1)); | 148 base::Bind(&ReportSeccompSupport), base::TimeDelta::FromMinutes(1)); |
150 | 149 |
151 RegisterChromeJavaMojoInterfaces(); | 150 RegisterChromeJavaMojoInterfaces(); |
152 } | 151 } |
153 | 152 |
154 void ChromeBrowserMainPartsAndroid::ShowMissingLocaleMessageBox() { | 153 void ChromeBrowserMainPartsAndroid::ShowMissingLocaleMessageBox() { |
155 NOTREACHED(); | 154 NOTREACHED(); |
156 } | 155 } |
OLD | NEW |