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

Side by Side Diff: ppapi/proxy/network_list_resource.cc

Issue 1548813002: Switch to standard integer types in ppapi/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fixes 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 | « ppapi/proxy/network_list_resource.h ('k') | ppapi/proxy/network_monitor_resource.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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 "ppapi/proxy/network_list_resource.h" 5 #include "ppapi/proxy/network_list_resource.h"
6 6
7 #include <stddef.h>
8
7 #include <algorithm> 9 #include <algorithm>
8 10
9 #include "base/logging.h" 11 #include "base/logging.h"
10 #include "ppapi/c/pp_errors.h" 12 #include "ppapi/c/pp_errors.h"
11 #include "ppapi/shared_impl/array_writer.h" 13 #include "ppapi/shared_impl/array_writer.h"
12 #include "ppapi/shared_impl/var.h" 14 #include "ppapi/shared_impl/var.h"
13 #include "ppapi/thunk/enter.h" 15 #include "ppapi/thunk/enter.h"
14 16
15 namespace ppapi { 17 namespace ppapi {
16 namespace proxy { 18 namespace proxy {
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 } 82 }
81 83
82 uint32_t NetworkListResource::GetMTU(uint32_t index) { 84 uint32_t NetworkListResource::GetMTU(uint32_t index) {
83 if (index >= list_.size()) 85 if (index >= list_.size())
84 return 0; 86 return 0;
85 return list_.at(index).mtu; 87 return list_.at(index).mtu;
86 } 88 }
87 89
88 } // namespace proxy 90 } // namespace proxy
89 } // namespace thunk 91 } // namespace thunk
OLDNEW
« no previous file with comments | « ppapi/proxy/network_list_resource.h ('k') | ppapi/proxy/network_monitor_resource.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698