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

Side by Side Diff: content/browser/debugger/render_view_devtools_agent_host.cc

Issue 9146028: Define the public interface for content browser SiteInstance. This interface is implemented by th... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 8 years, 11 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 #include "content/browser/debugger/render_view_devtools_agent_host.h" 5 #include "content/browser/debugger/render_view_devtools_agent_host.h"
6 6
7 #include "base/basictypes.h" 7 #include "base/basictypes.h"
8 #include "base/lazy_instance.h" 8 #include "base/lazy_instance.h"
9 #include "content/browser/debugger/devtools_manager_impl.h" 9 #include "content/browser/debugger/devtools_manager_impl.h"
10 #include "content/browser/debugger/render_view_devtools_agent_host.h" 10 #include "content/browser/debugger/render_view_devtools_agent_host.h"
11 #include "content/browser/renderer_host/render_process_host_impl.h" 11 #include "content/browser/renderer_host/render_process_host_impl.h"
12 #include "content/browser/renderer_host/render_view_host.h" 12 #include "content/browser/renderer_host/render_view_host.h"
13 #include "content/browser/site_instance.h" 13 #include "content/browser/site_instance_impl.h"
14 #include "content/browser/tab_contents/tab_contents.h" 14 #include "content/browser/tab_contents/tab_contents.h"
15 #include "content/common/devtools_messages.h" 15 #include "content/common/devtools_messages.h"
16 #include "content/public/browser/content_browser_client.h" 16 #include "content/public/browser/content_browser_client.h"
17 #include "content/public/browser/devtools_agent_host_registry.h" 17 #include "content/public/browser/devtools_agent_host_registry.h"
18 #include "content/public/browser/notification_service.h" 18 #include "content/public/browser/notification_service.h"
19 #include "content/public/browser/notification_types.h" 19 #include "content/public/browser/notification_types.h"
20 20
21 namespace content { 21 namespace content {
22 22
23 typedef std::map<RenderViewHost*, RenderViewDevToolsAgentHost*> Instances; 23 typedef std::map<RenderViewHost*, RenderViewDevToolsAgentHost*> Instances;
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
136 void RenderViewDevToolsAgentHost::OnClearBrowserCache() { 136 void RenderViewDevToolsAgentHost::OnClearBrowserCache() {
137 content::GetContentClient()->browser()->ClearCache(render_view_host_); 137 content::GetContentClient()->browser()->ClearCache(render_view_host_);
138 } 138 }
139 139
140 void RenderViewDevToolsAgentHost::OnClearBrowserCookies() { 140 void RenderViewDevToolsAgentHost::OnClearBrowserCookies() {
141 content::GetContentClient()->browser()->ClearCookies(render_view_host_); 141 content::GetContentClient()->browser()->ClearCookies(render_view_host_);
142 } 142 }
143 143
144 } // namespace content 144 } // namespace content
145 145
OLDNEW
« no previous file with comments | « content/browser/child_process_security_policy.cc ('k') | content/browser/renderer_host/render_view_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698