OLD | NEW |
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 #ifndef CHROME_BROWSER_NACL_HOST_NACL_BROKER_HOST_WIN_H_ | 5 #ifndef CHROME_BROWSER_NACL_HOST_NACL_BROKER_HOST_WIN_H_ |
6 #define CHROME_BROWSER_NACL_HOST_NACL_BROKER_HOST_WIN_H_ | 6 #define CHROME_BROWSER_NACL_HOST_NACL_BROKER_HOST_WIN_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "base/basictypes.h" | 9 #include "base/basictypes.h" |
10 #include "chrome/browser/browser_child_process_host.h" | 10 #include "chrome/browser/browser_child_process_host.h" |
(...skipping 15 matching lines...) Expand all Loading... |
26 void StopBroker(); | 26 void StopBroker(); |
27 | 27 |
28 private: | 28 private: |
29 virtual bool CanShutdown() { return true; } | 29 virtual bool CanShutdown() { return true; } |
30 | 30 |
31 // Handler for NaClProcessMsg_LoaderLaunched message | 31 // Handler for NaClProcessMsg_LoaderLaunched message |
32 void OnLoaderLaunched(const std::wstring& loader_channel_id, | 32 void OnLoaderLaunched(const std::wstring& loader_channel_id, |
33 base::ProcessHandle handle); | 33 base::ProcessHandle handle); |
34 | 34 |
35 // IPC::Channel::Listener | 35 // IPC::Channel::Listener |
36 virtual void OnMessageReceived(const IPC::Message& msg); | 36 virtual bool OnMessageReceived(const IPC::Message& msg); |
37 | 37 |
38 bool stopping_; | 38 bool stopping_; |
39 | 39 |
40 DISALLOW_COPY_AND_ASSIGN(NaClBrokerHost); | 40 DISALLOW_COPY_AND_ASSIGN(NaClBrokerHost); |
41 }; | 41 }; |
42 | 42 |
43 #endif // CHROME_BROWSER_NACL_HOST_NACL_BROKER_HOST_WIN_H_ | 43 #endif // CHROME_BROWSER_NACL_HOST_NACL_BROKER_HOST_WIN_H_ |
OLD | NEW |