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

Unified Diff: chrome/browser/extensions/chrome_mojo_service_registration.cc

Issue 1035263002: Add service registration for Mojo services defined under chrome/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Sync with master. Created 5 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/extensions/chrome_mojo_service_registration.h ('k') | chrome/chrome_browser_extensions.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/chrome_mojo_service_registration.cc
diff --git a/chrome/browser/extensions/chrome_mojo_service_registration.cc b/chrome/browser/extensions/chrome_mojo_service_registration.cc
new file mode 100644
index 0000000000000000000000000000000000000000..2d4b0b9cccb87ab16c11c53db53c492b95d040be
--- /dev/null
+++ b/chrome/browser/extensions/chrome_mojo_service_registration.cc
@@ -0,0 +1,19 @@
+// 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.
+
+#include "chrome/browser/extensions/chrome_mojo_service_registration.h"
+
+#include "base/logging.h"
+
+namespace extensions {
+
+void RegisterChromeServicesForFrame(content::RenderFrameHost* render_frame_host,
+ const Extension* extension) {
+ DCHECK(render_frame_host);
+ DCHECK(extension);
+
+ // TODO(kmarshall): Add Mojo service registration.
+}
+
+} // namespace extensions
« no previous file with comments | « chrome/browser/extensions/chrome_mojo_service_registration.h ('k') | chrome/chrome_browser_extensions.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698