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

Unified Diff: extensions/browser/mojo_extension_function.cc

Issue 2074263002: [Experimental] Fool around with exposing extension bindings via blink Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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
Index: extensions/browser/mojo_extension_function.cc
diff --git a/extensions/browser/mojo_extension_function.cc b/extensions/browser/mojo_extension_function.cc
new file mode 100644
index 0000000000000000000000000000000000000000..718710fb31badb4f459047cfbb75bf949d1840ec
--- /dev/null
+++ b/extensions/browser/mojo_extension_function.cc
@@ -0,0 +1,18 @@
+// Copyright 2016 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 "extensions/browser/mojo_extension_function.h"
+
+namespace extensions {
+
+MojoExtensionFunctionBase::MojoExtensionFunctionBase()
+ : user_gesture_(false), browser_context_(nullptr) {}
+
+MojoExtensionFunctionBase::~MojoExtensionFunctionBase() {}
+
+void MojoExtensionFunctionBase::PreRun() {
+ LOG(WARNING) << "PreRun";
+}
+
+} // namespace extensions

Powered by Google App Engine
This is Rietveld 408576698