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

Side by Side Diff: components/nacl/loader/nacl_trusted_listener.cc

Issue 1548113002: Switch to standard integer types in components/, part 2 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: gn Created 4 years, 12 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 "components/nacl/loader/nacl_trusted_listener.h" 5 #include "components/nacl/loader/nacl_trusted_listener.h"
6 6
7 #include "base/single_thread_task_runner.h" 7 #include "base/single_thread_task_runner.h"
8 #include "build/build_config.h"
8 #include "ipc/message_filter.h" 9 #include "ipc/message_filter.h"
9 #include "native_client/src/public/chrome_main.h" 10 #include "native_client/src/public/chrome_main.h"
10 11
11 namespace { 12 namespace {
12 13
13 // The OnChannelError() event must be processed in a MessageFilter so it can 14 // The OnChannelError() event must be processed in a MessageFilter so it can
14 // be handled on the IO thread. The main thread used by NaClListener is busy 15 // be handled on the IO thread. The main thread used by NaClListener is busy
15 // in NaClChromeMainAppStart(), so it can't be used for servicing messages. 16 // in NaClChromeMainAppStart(), so it can't be used for servicing messages.
16 class EOFMessageFilter : public IPC::MessageFilter { 17 class EOFMessageFilter : public IPC::MessageFilter {
17 public: 18 public:
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 return handle; 59 return handle;
59 } 60 }
60 61
61 bool NaClTrustedListener::OnMessageReceived(const IPC::Message& msg) { 62 bool NaClTrustedListener::OnMessageReceived(const IPC::Message& msg) {
62 return false; 63 return false;
63 } 64 }
64 65
65 bool NaClTrustedListener::Send(IPC::Message* msg) { 66 bool NaClTrustedListener::Send(IPC::Message* msg) {
66 return channel_->Send(msg); 67 return channel_->Send(msg);
67 } 68 }
OLDNEW
« no previous file with comments | « components/nacl/loader/nacl_trusted_listener.h ('k') | components/nacl/loader/nacl_validation_db.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698