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

Side by Side Diff: mojo/runner/android/main.cc

Issue 1508053003: Show the callstack that a nontransferable message pipe was first used if it's erroneously sent later (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove frame fix Created 5 years 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 | « mojo/message_pump/handle_watcher.cc ('k') | mojo/runner/desktop/launcher_process.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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 "mojo/runner/android/main.h" 5 #include "mojo/runner/android/main.h"
6 6
7 #include "base/android/fifo_utils.h" 7 #include "base/android/fifo_utils.h"
8 #include "base/android/jni_android.h" 8 #include "base/android/jni_android.h"
9 #include "base/android/jni_array.h" 9 #include "base/android/jni_array.h"
10 #include "base/android/jni_string.h" 10 #include "base/android/jni_string.h"
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after
176 return g_context.Get().get(); 176 return g_context.Get().get();
177 } 177 }
178 178
179 } // namespace runner 179 } // namespace runner
180 } // namespace mojo 180 } // namespace mojo
181 181
182 int main(int argc, char** argv) { 182 int main(int argc, char** argv) {
183 base::AtExitManager at_exit; 183 base::AtExitManager at_exit;
184 base::CommandLine::Init(argc, argv); 184 base::CommandLine::Init(argc, argv);
185 185
186 #if !defined(OFFICIAL_BUILD)
187 base::debug::EnableInProcessStackDumping();
188 #endif
189
190 mojo::runner::InitializeLogging(); 186 mojo::runner::InitializeLogging();
191 return mojo::runner::ChildProcessMain(); 187 return mojo::runner::ChildProcessMain();
192 } 188 }
OLDNEW
« no previous file with comments | « mojo/message_pump/handle_watcher.cc ('k') | mojo/runner/desktop/launcher_process.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698