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

Side by Side Diff: chrome/utility/importer/nss_decryptor.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 (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 "chrome/utility/importer/nss_decryptor.h" 5 #include "chrome/utility/importer/nss_decryptor.h"
6 6
7 #include <stddef.h>
8
7 #include <string> 9 #include <string>
8 #include <vector> 10 #include <vector>
9 11
10 #include "base/base64.h" 12 #include "base/base64.h"
11 #include "base/files/file_util.h" 13 #include "base/files/file_util.h"
12 #include "base/json/json_reader.h" 14 #include "base/json/json_reader.h"
13 #include "base/memory/scoped_ptr.h" 15 #include "base/memory/scoped_ptr.h"
14 #include "base/strings/string_split.h" 16 #include "base/strings/string_split.h"
15 #include "base/strings/string_util.h" 17 #include "base/strings/string_util.h"
16 #include "base/strings/utf_string_conversions.h" 18 #include "base/strings/utf_string_conversions.h"
(...skipping 353 matching lines...) Expand 10 before | Expand all | Expand 10 after
370 } 372 }
371 form->ssl_valid = form->origin.SchemeIsCryptographic(); 373 form->ssl_valid = form->origin.SchemeIsCryptographic();
372 form->username_element = raw_password_info.username_element; 374 form->username_element = raw_password_info.username_element;
373 form->username_value = Decrypt(raw_password_info.encrypted_username); 375 form->username_value = Decrypt(raw_password_info.encrypted_username);
374 form->password_element = raw_password_info.password_element; 376 form->password_element = raw_password_info.password_element;
375 form->password_value = Decrypt(raw_password_info.encrypted_password); 377 form->password_value = Decrypt(raw_password_info.encrypted_password);
376 form->action = GURL(raw_password_info.form_action).ReplaceComponents(rep); 378 form->action = GURL(raw_password_info.form_action).ReplaceComponents(rep);
377 379
378 return true; 380 return true;
379 } 381 }
OLDNEW
« no previous file with comments | « chrome/utility/importer/importer_creator.cc ('k') | chrome/utility/importer/nss_decryptor_mac.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698