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

Unified Diff: chrome/browser/mojo_runner_util.h

Issue 1423063004: Allow Chrome to bind an Application request from mojo_runner. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@callback
Patch Set: . Created 5 years, 1 month 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/mojo_runner_util.h
diff --git a/chrome/browser/mojo_runner_util.h b/chrome/browser/mojo_runner_util.h
new file mode 100644
index 0000000000000000000000000000000000000000..4b7a7674d286b99973ef4e04871c60d61565fa28
--- /dev/null
+++ b/chrome/browser/mojo_runner_util.h
@@ -0,0 +1,15 @@
+// Copyright 2015 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CHROME_BROWSER_MOJO_RUNNER_UTIL_H_
+#define CHROME_BROWSER_MOJO_RUNNER_UTIL_H_
+
+namespace chrome {
sky 2015/11/05 00:29:34 nit: latest thinking on naming is no chrome namesp
+
+// Returns true if the Chrome browser process was launched from the mojo_runner.
+bool IsRunningInMojoRunner();
+
+} // namespace chrome
+
+#endif // CHROME_BROWSER_MOJO_RUNNER_UTIL_H_

Powered by Google App Engine
This is Rietveld 408576698