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

Side by Side Diff: chrome/browser/nacl_host/nacl_broker_service_win.cc

Issue 5512009: Remove unneeded browser_process.h includes. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix linux build Created 10 years 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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 "chrome/browser/nacl_host/nacl_broker_service_win.h" 5 #include "chrome/browser/nacl_host/nacl_broker_service_win.h"
6 6
7 #include "chrome/browser/browser_process.h"
8 #include "chrome/browser/nacl_host/nacl_process_host.h" 7 #include "chrome/browser/nacl_host/nacl_process_host.h"
9 #include "chrome/common/chrome_switches.h" 8 #include "chrome/common/chrome_switches.h"
10 9
11 NaClBrokerService* NaClBrokerService::GetInstance() { 10 NaClBrokerService* NaClBrokerService::GetInstance() {
12 return Singleton<NaClBrokerService>::get(); 11 return Singleton<NaClBrokerService>::get();
13 } 12 }
14 13
15 NaClBrokerService::NaClBrokerService() 14 NaClBrokerService::NaClBrokerService()
16 : loaders_running_(0), 15 : loaders_running_(0),
17 resource_dispatcher_host_(NULL), 16 resource_dispatcher_host_(NULL),
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 NaClBrokerHost* NaClBrokerService::GetBrokerHost() { 73 NaClBrokerHost* NaClBrokerService::GetBrokerHost() {
75 for (BrowserChildProcessHost::Iterator iter( 74 for (BrowserChildProcessHost::Iterator iter(
76 ChildProcessInfo::NACL_BROKER_PROCESS); 75 ChildProcessInfo::NACL_BROKER_PROCESS);
77 !iter.Done(); 76 !iter.Done();
78 ++iter) { 77 ++iter) {
79 NaClBrokerHost* broker_host = static_cast<NaClBrokerHost*>(*iter); 78 NaClBrokerHost* broker_host = static_cast<NaClBrokerHost*>(*iter);
80 return broker_host; 79 return broker_host;
81 } 80 }
82 return NULL; 81 return NULL;
83 } 82 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698