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

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

Issue 1412293002: Android: Make stack tool work for GN builds (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: review comments Created 5 years, 2 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
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/android/build_info.h" 7 #include "base/android/build_info.h"
8 #include "base/base_switches.h" 8 #include "base/base_switches.h"
9 #include "base/command_line.h" 9 #include "base/command_line.h"
10 #include "base/files/file_path.h" 10 #include "base/files/file_path.h"
(...skipping 30 matching lines...) Expand all
41 ChromeBrowserMainPartsAndroid::ChromeBrowserMainPartsAndroid( 41 ChromeBrowserMainPartsAndroid::ChromeBrowserMainPartsAndroid(
42 const content::MainFunctionParams& parameters) 42 const content::MainFunctionParams& parameters)
43 : ChromeBrowserMainParts(parameters) { 43 : ChromeBrowserMainParts(parameters) {
44 } 44 }
45 45
46 ChromeBrowserMainPartsAndroid::~ChromeBrowserMainPartsAndroid() { 46 ChromeBrowserMainPartsAndroid::~ChromeBrowserMainPartsAndroid() {
47 } 47 }
48 48
49 int ChromeBrowserMainPartsAndroid::PreCreateThreads() { 49 int ChromeBrowserMainPartsAndroid::PreCreateThreads() {
50 TRACE_EVENT0("startup", "ChromeBrowserMainPartsAndroid::PreCreateThreads") 50 TRACE_EVENT0("startup", "ChromeBrowserMainPartsAndroid::PreCreateThreads")
51 DCHECK(false) << "HA";
johnme 2015/10/20 18:53:27 I take it this is accidental ;)
agrieve 2015/10/20 19:27:49 yeah... about that... :P
51 52
52 // The CrashDumpManager must be initialized before any child process is 53 // The CrashDumpManager must be initialized before any child process is
53 // created (as they need to access it during creation). Such processes 54 // created (as they need to access it during creation). Such processes
54 // are created on the PROCESS_LAUNCHER thread, and so the manager is 55 // are created on the PROCESS_LAUNCHER thread, and so the manager is
55 // initialized before that thread is created. 56 // initialized before that thread is created.
56 #if defined(GOOGLE_CHROME_BUILD) 57 #if defined(GOOGLE_CHROME_BUILD)
57 // TODO(jcivelli): we should not initialize the crash-reporter when it was not 58 // TODO(jcivelli): we should not initialize the crash-reporter when it was not
58 // enabled. Right now if it is disabled we still generate the minidumps but we 59 // enabled. Right now if it is disabled we still generate the minidumps but we
59 // do not upload them. 60 // do not upload them.
60 bool breakpad_enabled = true; 61 bool breakpad_enabled = true;
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
133 ChromeBrowserMainParts::PostBrowserStart(); 134 ChromeBrowserMainParts::PostBrowserStart();
134 135
135 content::BrowserThread::GetBlockingPool()->PostDelayedTask(FROM_HERE, 136 content::BrowserThread::GetBlockingPool()->PostDelayedTask(FROM_HERE,
136 base::Bind(&SeccompSupportDetector::StartDetection), 137 base::Bind(&SeccompSupportDetector::StartDetection),
137 base::TimeDelta::FromMinutes(1)); 138 base::TimeDelta::FromMinutes(1));
138 } 139 }
139 140
140 void ChromeBrowserMainPartsAndroid::ShowMissingLocaleMessageBox() { 141 void ChromeBrowserMainPartsAndroid::ShowMissingLocaleMessageBox() {
141 NOTREACHED(); 142 NOTREACHED();
142 } 143 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698