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

Side by Side Diff: ipc/message_filter_router.cc

Issue 1546533002: Switch to standard integer types in ipc/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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
« no previous file with comments | « ipc/message_filter.cc ('k') | ipc/mojo/async_handle_waiter.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 "ipc/message_filter_router.h" 5 #include "ipc/message_filter_router.h"
6 6
7 #include <stddef.h>
7 #include <stdint.h> 8 #include <stdint.h>
8 9
10 #include "base/macros.h"
9 #include "ipc/ipc_message_macros.h" 11 #include "ipc/ipc_message_macros.h"
10 #include "ipc/ipc_message_utils.h" 12 #include "ipc/ipc_message_utils.h"
11 #include "ipc/message_filter.h" 13 #include "ipc/message_filter.h"
12 14
13 namespace IPC { 15 namespace IPC {
14 16
15 namespace { 17 namespace {
16 18
17 bool TryFiltersImpl(MessageFilterRouter::MessageFilters& filters, 19 bool TryFiltersImpl(MessageFilterRouter::MessageFilters& filters,
18 const IPC::Message& message) { 20 const IPC::Message& message) {
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 return TryFiltersImpl(message_class_filters_[message_class], message); 87 return TryFiltersImpl(message_class_filters_[message_class], message);
86 } 88 }
87 89
88 void MessageFilterRouter::Clear() { 90 void MessageFilterRouter::Clear() {
89 global_filters_.clear(); 91 global_filters_.clear();
90 for (size_t i = 0; i < arraysize(message_class_filters_); ++i) 92 for (size_t i = 0; i < arraysize(message_class_filters_); ++i)
91 message_class_filters_[i].clear(); 93 message_class_filters_[i].clear();
92 } 94 }
93 95
94 } // namespace IPC 96 } // namespace IPC
OLDNEW
« no previous file with comments | « ipc/message_filter.cc ('k') | ipc/mojo/async_handle_waiter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698