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

Side by Side Diff: ipc/attachment_broker_privileged.cc

Issue 1546533002: Switch to standard integer types in ipc/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
« no previous file with comments | « ipc/attachment_broker_privileged.h ('k') | ipc/attachment_broker_privileged_mac.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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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/attachment_broker_privileged.h" 5 #include "ipc/attachment_broker_privileged.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 8
9 #include "base/lazy_instance.h" 9 #include "base/lazy_instance.h"
10 #include "base/metrics/histogram_macros.h" 10 #include "base/metrics/histogram_macros.h"
11 #include "build/build_config.h"
11 #include "ipc/ipc_endpoint.h" 12 #include "ipc/ipc_endpoint.h"
12 13
13 #if defined(OS_WIN) 14 #if defined(OS_WIN)
14 #include "ipc/attachment_broker_privileged_win.h" 15 #include "ipc/attachment_broker_privileged_win.h"
15 #endif 16 #endif
16 17
17 #if defined(OS_MACOSX) && !defined(OS_IOS) 18 #if defined(OS_MACOSX) && !defined(OS_IOS)
18 #include "ipc/attachment_broker_privileged_mac.h" 19 #include "ipc/attachment_broker_privileged_mac.h"
19 #endif 20 #endif
20 21
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
110 return nullptr; 111 return nullptr;
111 return *it; 112 return *it;
112 } 113 }
113 114
114 void AttachmentBrokerPrivileged::LogError(UMAError error) { 115 void AttachmentBrokerPrivileged::LogError(UMAError error) {
115 UMA_HISTOGRAM_ENUMERATION( 116 UMA_HISTOGRAM_ENUMERATION(
116 "IPC.AttachmentBrokerPrivileged.BrokerAttachmentError", error, ERROR_MAX); 117 "IPC.AttachmentBrokerPrivileged.BrokerAttachmentError", error, ERROR_MAX);
117 } 118 }
118 119
119 } // namespace IPC 120 } // namespace IPC
OLDNEW
« no previous file with comments | « ipc/attachment_broker_privileged.h ('k') | ipc/attachment_broker_privileged_mac.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698