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

Unified Diff: chrome/browser/extensions/devtools_util.h

Issue 23923010: Move Inspect[BackgroundPage|ExtensionHost] Out of ExtensionService (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years, 3 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/browser/extensions/devtools_util.h
diff --git a/chrome/browser/extensions/devtools_util.h b/chrome/browser/extensions/devtools_util.h
new file mode 100644
index 0000000000000000000000000000000000000000..a84cc78408cc3b70df3139a42dc409b7aaa47c90
--- /dev/null
+++ b/chrome/browser/extensions/devtools_util.h
@@ -0,0 +1,22 @@
+// Copyright 2013 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_EXTENSIONS_DEVTOOLS_UTIL_H_
+#define CHROME_BROWSER_EXTENSIONS_DEVTOOLS_UTIL_H_
+
+class Profile;
+
+namespace extensions {
+class Extension;
+
+namespace devtools_util {
+
+// Open a dev tools window for the background page for the given extension,
+// starting the background page first if necessary.
+void InspectBackgroundPage(const Extension* extension, Profile* profile);
+
+} // namespace devtools_util
+} // namespace extensions
+
+#endif // CHROME_BROWSER_EXTENSIONS_DEVTOOLS_UTIL_H_
« no previous file with comments | « chrome/browser/extensions/api/developer_private/developer_private_api.cc ('k') | chrome/browser/extensions/devtools_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698