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

Side by Side Diff: chrome/browser/chrome_browser_main_android.cc

Issue 2858073002: Use constexpr TaskTraits constructor in chrome. (Closed)
Patch Set: Created 3 years, 7 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
« no previous file with comments | « chrome/browser/chrome_browser_main.cc ('k') | chrome/browser/chrome_browser_main_linux.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 "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
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 }
OLDNEW
« no previous file with comments | « chrome/browser/chrome_browser_main.cc ('k') | chrome/browser/chrome_browser_main_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698