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

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

Issue 6086003: Cleanup: Remove unneeded includes of chrome_switches.h. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 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) 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/nacl_host/nacl_process_host.h" 7 #include "chrome/browser/nacl_host/nacl_process_host.h"
8 #include "chrome/common/chrome_switches.h"
9 8
10 NaClBrokerService* NaClBrokerService::GetInstance() { 9 NaClBrokerService* NaClBrokerService::GetInstance() {
11 return Singleton<NaClBrokerService>::get(); 10 return Singleton<NaClBrokerService>::get();
12 } 11 }
13 12
14 NaClBrokerService::NaClBrokerService() 13 NaClBrokerService::NaClBrokerService()
15 : loaders_running_(0), 14 : loaders_running_(0),
16 resource_dispatcher_host_(NULL), 15 resource_dispatcher_host_(NULL),
17 initialized_(false) { 16 initialized_(false) {
18 } 17 }
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 NaClBrokerHost* NaClBrokerService::GetBrokerHost() { 72 NaClBrokerHost* NaClBrokerService::GetBrokerHost() {
74 for (BrowserChildProcessHost::Iterator iter( 73 for (BrowserChildProcessHost::Iterator iter(
75 ChildProcessInfo::NACL_BROKER_PROCESS); 74 ChildProcessInfo::NACL_BROKER_PROCESS);
76 !iter.Done(); 75 !iter.Done();
77 ++iter) { 76 ++iter) {
78 NaClBrokerHost* broker_host = static_cast<NaClBrokerHost*>(*iter); 77 NaClBrokerHost* broker_host = static_cast<NaClBrokerHost*>(*iter);
79 return broker_host; 78 return broker_host;
80 } 79 }
81 return NULL; 80 return NULL;
82 } 81 }
OLDNEW
« no previous file with comments | « chrome/browser/in_process_webkit/webkit_context.cc ('k') | chrome/browser/notifications/notifications_interactive_uitest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698