Disable view source for Developer Tools.
[chromium-blink-merge.git] / chrome / browser / extensions / devtools_util.h
bloba84cc78408cc3b70df3139a42dc409b7aaa47c90
1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef CHROME_BROWSER_EXTENSIONS_DEVTOOLS_UTIL_H_
6 #define CHROME_BROWSER_EXTENSIONS_DEVTOOLS_UTIL_H_
8 class Profile;
10 namespace extensions {
11 class Extension;
13 namespace devtools_util {
15 // Open a dev tools window for the background page for the given extension,
16 // starting the background page first if necessary.
17 void InspectBackgroundPage(const Extension* extension, Profile* profile);
19 } // namespace devtools_util
20 } // namespace extensions
22 #endif // CHROME_BROWSER_EXTENSIONS_DEVTOOLS_UTIL_H_