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

Side by Side Diff: components/resource_provider/resource_provider_impl.cc

Issue 1551433002: Switch to standard integer types in components/, part 3 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more 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 | « components/resource_provider/resource_provider_impl.h ('k') | components/rlz/rlz_tracker.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 "components/resource_provider/resource_provider_impl.h" 5 #include "components/resource_provider/resource_provider_impl.h"
6 6
7 #include <stddef.h>
8
7 #include "base/bind.h" 9 #include "base/bind.h"
8 #include "base/files/file_util.h" 10 #include "base/files/file_util.h"
9 #include "base/location.h" 11 #include "base/location.h"
10 #include "base/logging.h" 12 #include "base/logging.h"
11 #include "components/resource_provider/file_utils.h" 13 #include "components/resource_provider/file_utils.h"
12 #include "mojo/platform_handle/platform_handle_functions.h" 14 #include "mojo/platform_handle/platform_handle_functions.h"
13 #include "url/gurl.h" 15 #include "url/gurl.h"
14 16
15 using mojo::ScopedHandle; 17 using mojo::ScopedHandle;
16 18
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 handles.resize(paths.size()); 62 handles.resize(paths.size());
61 for (size_t i = 0; i < paths.size(); ++i) { 63 for (size_t i = 0; i < paths.size(); ++i) {
62 handles[i] = GetHandleForPath( 64 handles[i] = GetHandleForPath(
63 GetPathForResourceNamed(application_path_, paths[i])); 65 GetPathForResourceNamed(application_path_, paths[i]));
64 } 66 }
65 } 67 }
66 callback.Run(handles.Pass()); 68 callback.Run(handles.Pass());
67 } 69 }
68 70
69 } // namespace resource_provider 71 } // namespace resource_provider
OLDNEW
« no previous file with comments | « components/resource_provider/resource_provider_impl.h ('k') | components/rlz/rlz_tracker.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698