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

Side by Side Diff: ipc/attachment_broker_unprivileged.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/attachment_broker_unprivileged.h ('k') | ipc/attachment_broker_unprivileged_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_unprivileged.h" 5 #include "ipc/attachment_broker_unprivileged.h"
6 6
7 #include "base/metrics/histogram_macros.h" 7 #include "base/metrics/histogram_macros.h"
8 #include "build/build_config.h"
8 #include "ipc/ipc_channel.h" 9 #include "ipc/ipc_channel.h"
9 #include "ipc/ipc_endpoint.h" 10 #include "ipc/ipc_endpoint.h"
10 11
11 #if defined(OS_WIN) 12 #if defined(OS_WIN)
12 #include "ipc/attachment_broker_unprivileged_win.h" 13 #include "ipc/attachment_broker_unprivileged_win.h"
13 #endif 14 #endif
14 15
15 #if defined(OS_MACOSX) && !defined(OS_IOS) 16 #if defined(OS_MACOSX) && !defined(OS_IOS)
16 #include "ipc/attachment_broker_unprivileged_mac.h" 17 #include "ipc/attachment_broker_unprivileged_mac.h"
17 #endif 18 #endif
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 endpoint->SetAttachmentBrokerEndpoint(true); 50 endpoint->SetAttachmentBrokerEndpoint(true);
50 } 51 }
51 52
52 void AttachmentBrokerUnprivileged::LogError(UMAError error) { 53 void AttachmentBrokerUnprivileged::LogError(UMAError error) {
53 UMA_HISTOGRAM_ENUMERATION( 54 UMA_HISTOGRAM_ENUMERATION(
54 "IPC.AttachmentBrokerUnprivileged.BrokerAttachmentError", error, 55 "IPC.AttachmentBrokerUnprivileged.BrokerAttachmentError", error,
55 ERROR_MAX); 56 ERROR_MAX);
56 } 57 }
57 58
58 } // namespace IPC 59 } // namespace IPC
OLDNEW
« no previous file with comments | « ipc/attachment_broker_unprivileged.h ('k') | ipc/attachment_broker_unprivileged_mac.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698