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

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

Issue 9221017: Hide BrowsingInstance from all but SiteInstance, as intended by design. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase. 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
« no previous file with comments | « content/browser/browsing_instance.cc ('k') | content/browser/site_instance.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/devtools_manager_impl.h" 5 #include "content/browser/debugger/devtools_manager_impl.h"
6 6
7 #include <vector> 7 #include <vector>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/message_loop.h" 10 #include "base/message_loop.h"
11 #include "content/browser/browsing_instance.h"
12 #include "content/browser/child_process_security_policy.h" 11 #include "content/browser/child_process_security_policy.h"
13 #include "content/browser/debugger/devtools_netlog_observer.h" 12 #include "content/browser/debugger/devtools_netlog_observer.h"
14 #include "content/browser/debugger/render_view_devtools_agent_host.h" 13 #include "content/browser/debugger/render_view_devtools_agent_host.h"
15 #include "content/browser/renderer_host/render_view_host.h" 14 #include "content/browser/renderer_host/render_view_host.h"
16 #include "content/browser/tab_contents/tab_contents.h" 15 #include "content/browser/tab_contents/tab_contents.h"
17 #include "content/public/browser/browser_thread.h" 16 #include "content/public/browser/browser_thread.h"
18 #include "content/public/browser/devtools_client_host.h" 17 #include "content/public/browser/devtools_client_host.h"
19 #include "content/public/browser/devtools_agent_host_registry.h" 18 #include "content/public/browser/devtools_agent_host_registry.h"
20 #include "googleurl/src/gurl.h" 19 #include "googleurl/src/gurl.h"
21 20
(...skipping 264 matching lines...) Expand 10 before | Expand all | Expand 10 after
286 it != agent_to_client_host_.end(); ++it) { 285 it != agent_to_client_host_.end(); ++it) {
287 agents.push_back(it->first); 286 agents.push_back(it->first);
288 } 287 }
289 for (std::vector<DevToolsAgentHost*>::iterator it = agents.begin(); 288 for (std::vector<DevToolsAgentHost*>::iterator it = agents.begin();
290 it != agents.end(); ++it) { 289 it != agents.end(); ++it) {
291 UnregisterDevToolsClientHostFor(*it); 290 UnregisterDevToolsClientHostFor(*it);
292 } 291 }
293 } 292 }
294 293
295 } // namespace content 294 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/browsing_instance.cc ('k') | content/browser/site_instance.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698