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

Unified Diff: chrome/browser/devtools/devtools_manager_delegate_impl.h

Issue 251653003: Introduces DevToolsManagerDelegate. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: incorporated pfeldman's comment Created 6 years, 7 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/devtools/devtools_manager_delegate_impl.h
diff --git a/chrome/browser/devtools/devtools_manager_delegate_impl.h b/chrome/browser/devtools/devtools_manager_delegate_impl.h
new file mode 100644
index 0000000000000000000000000000000000000000..f549c29c17bebf10faa5a7cf4ce67b2e3572abc5
--- /dev/null
+++ b/chrome/browser/devtools/devtools_manager_delegate_impl.h
@@ -0,0 +1,30 @@
+// 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.
+
+#ifndef CHROME_BROWSER_DEVTOOLS_DEVTOOLS_MANAGER_DELEGATE_IMPL_H_
+#define CHROME_BROWSER_DEVTOOLS_DEVTOOLS_MANAGER_DELEGATE_IMPL_H_
+
+#include "base/compiler_specific.h"
+#include "content/public/browser/devtools_manager_delegate.h"
+
+class Profile;
+
+namespace content {
+class DevToolsAgentHost;
+}
+
+class DevToolsManagerDelegateImpl : public content::DevToolsManagerDelegate {
+ public:
+ explicit DevToolsManagerDelegateImpl();
+ virtual ~DevToolsManagerDelegateImpl();
+
+ // content::DevToolsManagerDelegate overrides:
+ virtual void Inspect(content::BrowserContext* browser_context,
+ content::DevToolsAgentHost* agent_host) OVERRIDE;
+
+ private:
+ Profile* profile_;
pfeldman 2014/05/12 08:30:55 - remove profile. add DISALLOW_COPY_AND_ASSIGN
horo 2014/05/12 09:17:11 Done.
+};
+
+#endif // CHROME_BROWSER_DEVTOOLS_DEVTOOLS_MANAGER_DELEGATE_IMPL_H_
« no previous file with comments | « chrome/browser/chrome_content_browser_client.cc ('k') | chrome/browser/devtools/devtools_manager_delegate_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698