| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CONTENT_BROWSER_DEBUGGER_DEVTOOLS_FRONTEND_HOST_H_ | 5 #ifndef CONTENT_BROWSER_DEBUGGER_DEVTOOLS_FRONTEND_HOST_H_ |
| 6 #define CONTENT_BROWSER_DEBUGGER_DEVTOOLS_FRONTEND_HOST_H_ | 6 #define CONTENT_BROWSER_DEBUGGER_DEVTOOLS_FRONTEND_HOST_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| 11 #include "base/basictypes.h" | 11 #include "base/basictypes.h" |
| 12 #include "base/compiler_specific.h" |
| 12 #include "content/public/browser/devtools_client_host.h" | 13 #include "content/public/browser/devtools_client_host.h" |
| 13 #include "content/public/browser/render_view_host_observer.h" | 14 #include "content/public/browser/render_view_host_observer.h" |
| 14 | 15 |
| 15 class WebContentsImpl; | 16 class WebContentsImpl; |
| 16 | 17 |
| 17 namespace content { | 18 namespace content { |
| 18 | 19 |
| 19 class DevToolsFrontendHostDelegate; | 20 class DevToolsFrontendHostDelegate; |
| 20 | 21 |
| 21 // This class handles messages from DevToolsClient and calls corresponding | 22 // This class handles messages from DevToolsClient and calls corresponding |
| (...skipping 30 matching lines...) Expand all Loading... |
| 52 void OnAppend(const std::string& url, const std::string& content); | 53 void OnAppend(const std::string& url, const std::string& content); |
| 53 | 54 |
| 54 WebContentsImpl* web_contents_; | 55 WebContentsImpl* web_contents_; |
| 55 DevToolsFrontendHostDelegate* delegate_; | 56 DevToolsFrontendHostDelegate* delegate_; |
| 56 DISALLOW_COPY_AND_ASSIGN(DevToolsFrontendHost); | 57 DISALLOW_COPY_AND_ASSIGN(DevToolsFrontendHost); |
| 57 }; | 58 }; |
| 58 | 59 |
| 59 } // namespace content | 60 } // namespace content |
| 60 | 61 |
| 61 #endif // CONTENT_BROWSER_DEBUGGER_DEVTOOLS_FRONTEND_HOST_H_ | 62 #endif // CONTENT_BROWSER_DEBUGGER_DEVTOOLS_FRONTEND_HOST_H_ |
| OLD | NEW |