| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 <string> |
| 10 |
| 9 #include "base/basictypes.h" | 11 #include "base/basictypes.h" |
| 10 #include "base/memory/scoped_ptr.h" | 12 #include "base/memory/scoped_ptr.h" |
| 11 #include "base/process.h" | 13 #include "base/process.h" |
| 12 #include "content/public/browser/browser_child_process_host_delegate.h" | 14 #include "content/public/browser/browser_child_process_host_delegate.h" |
| 13 | 15 |
| 14 namespace content { | 16 namespace content { |
| 15 class BrowserChildProcessHost; | 17 class BrowserChildProcessHost; |
| 16 } | 18 } |
| 17 | 19 |
| 18 class NaClBrokerHost : public content::BrowserChildProcessHostDelegate { | 20 class NaClBrokerHost : public content::BrowserChildProcessHostDelegate { |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 50 // BrowserChildProcessHostDelegate implementation: | 52 // BrowserChildProcessHostDelegate implementation: |
| 51 virtual bool OnMessageReceived(const IPC::Message& msg); | 53 virtual bool OnMessageReceived(const IPC::Message& msg); |
| 52 | 54 |
| 53 scoped_ptr<content::BrowserChildProcessHost> process_; | 55 scoped_ptr<content::BrowserChildProcessHost> process_; |
| 54 bool is_terminating_; | 56 bool is_terminating_; |
| 55 | 57 |
| 56 DISALLOW_COPY_AND_ASSIGN(NaClBrokerHost); | 58 DISALLOW_COPY_AND_ASSIGN(NaClBrokerHost); |
| 57 }; | 59 }; |
| 58 | 60 |
| 59 #endif // CHROME_BROWSER_NACL_HOST_NACL_BROKER_HOST_WIN_H_ | 61 #endif // CHROME_BROWSER_NACL_HOST_NACL_BROKER_HOST_WIN_H_ |
| OLD | NEW |