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

Side by Side Diff: chrome/browser/nacl_host/nacl_broker_host_win.h

Issue 5978003: Make IPC::Channel::Listener:OnMessageReceived have a return value indicating ... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' 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 #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
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_
OLDNEW
« no previous file with comments | « chrome/browser/importer/firefox_importer_unittest_utils_mac.cc ('k') | chrome/browser/nacl_host/nacl_broker_host_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698