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

Side by Side Diff: extensions/utility/unpacker.cc

Issue 1543053002: Switch to standard integer types in extensions/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@int-extensions-browser
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 | « extensions/utility/unpacker.h ('k') | no next file » | 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 "extensions/utility/unpacker.h" 5 #include "extensions/utility/unpacker.h"
6 6
7 #include <stddef.h>
8
7 #include <set> 9 #include <set>
8 #include <utility> 10 #include <utility>
9 11
10 #include "base/files/file_enumerator.h" 12 #include "base/files/file_enumerator.h"
11 #include "base/files/file_util.h" 13 #include "base/files/file_util.h"
12 #include "base/files/scoped_temp_dir.h" 14 #include "base/files/scoped_temp_dir.h"
13 #include "base/i18n/rtl.h" 15 #include "base/i18n/rtl.h"
14 #include "base/json/json_file_value_serializer.h" 16 #include "base/json/json_file_value_serializer.h"
15 #include "base/numerics/safe_conversions.h" 17 #include "base/numerics/safe_conversions.h"
16 #include "base/strings/string_util.h" 18 #include "base/strings/string_util.h"
(...skipping 270 matching lines...) Expand 10 before | Expand all | Expand 10 after
287 289
288 void Unpacker::SetError(const std::string& error) { 290 void Unpacker::SetError(const std::string& error) {
289 SetUTF16Error(base::UTF8ToUTF16(error)); 291 SetUTF16Error(base::UTF8ToUTF16(error));
290 } 292 }
291 293
292 void Unpacker::SetUTF16Error(const base::string16& error) { 294 void Unpacker::SetUTF16Error(const base::string16& error) {
293 error_message_ = error; 295 error_message_ = error;
294 } 296 }
295 297
296 } // namespace extensions 298 } // namespace extensions
OLDNEW
« no previous file with comments | « extensions/utility/unpacker.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698