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

Side by Side Diff: chrome/common/component_flash_hint_file_linux.cc

Issue 1548153002: Switch to standard integer types in chrome/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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
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 "chrome/common/component_flash_hint_file_linux.h" 5 #include "chrome/common/component_flash_hint_file_linux.h"
6 6
7 #include <fcntl.h> 7 #include <fcntl.h>
8 #include <stddef.h>
9 #include <stdint.h>
8 #include <sys/mman.h> 10 #include <sys/mman.h>
9 11
10 #include "base/base64.h" 12 #include "base/base64.h"
11 #include "base/files/file_path.h" 13 #include "base/files/file_path.h"
12 #include "base/files/file_util.h" 14 #include "base/files/file_util.h"
13 #include "base/files/important_file_writer.h" 15 #include "base/files/important_file_writer.h"
14 #include "base/files/memory_mapped_file.h" 16 #include "base/files/memory_mapped_file.h"
15 #include "base/files/scoped_file.h" 17 #include "base/files/scoped_file.h"
16 #include "base/json/json_string_value_serializer.h" 18 #include "base/json/json_string_value_serializer.h"
17 #include "base/path_service.h" 19 #include "base/path_service.h"
(...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after
213 "component flash plugin will not be loaded."; 215 "component flash plugin will not be loaded.";
214 return false; 216 return false;
215 } 217 }
216 218
217 *path = plugin_path; 219 *path = plugin_path;
218 flash_version->assign(plugin_version_str); 220 flash_version->assign(plugin_version_str);
219 return true; 221 return true;
220 } 222 }
221 223
222 } // namespace component_flash_hint_file 224 } // namespace component_flash_hint_file
OLDNEW
« no previous file with comments | « chrome/common/cloud_print/cloud_print_constants.h ('k') | chrome/common/component_flash_hint_file_linux_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698