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

Unified Diff: chrome/renderer/resources/extensions/log_private_custom_bindings.js

Issue 2934163002: Delete the logPrivate APIs (Closed)
Patch Set: Roll back docs changes Created 3 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: chrome/renderer/resources/extensions/log_private_custom_bindings.js
diff --git a/chrome/renderer/resources/extensions/log_private_custom_bindings.js b/chrome/renderer/resources/extensions/log_private_custom_bindings.js
deleted file mode 100644
index 038c8cd8f40db3cbfe98dbe4a72273eee3f4a3d8..0000000000000000000000000000000000000000
--- a/chrome/renderer/resources/extensions/log_private_custom_bindings.js
+++ /dev/null
@@ -1,24 +0,0 @@
-// Copyright 2014 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.
-
-// Custom binding for the logPrivate API.
-var binding = require('binding').Binding.create('logPrivate');
-
-var getFileBindingsForApi =
- require('fileEntryBindingUtil').getFileBindingsForApi;
-var fileBindings = getFileBindingsForApi('logPrivate');
-var bindFileEntryCallback = fileBindings.bindFileEntryCallback;
-
-binding.registerCustomHook(function(bindingsAPI) {
- var apiFunctions = bindingsAPI.apiFunctions;
-
- $Array.forEach(['dumpLogs'],
- function(functionName) {
- bindFileEntryCallback(functionName, apiFunctions);
- });
-
-});
-
-exports.$set('bindFileEntryCallback', bindFileEntryCallback);
-exports.$set('binding', binding.generate());
« no previous file with comments | « chrome/renderer/extensions/chrome_extensions_dispatcher_delegate.cc ('k') | chrome/renderer/resources/renderer_resources.grd » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698