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

Side by Side Diff: chrome/browser/importer/profile_writer.cc

Issue 1550593002: Switch to standard integer types in chrome/browser/, part 2 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
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/browser/importer/profile_writer.h" 5 #include "chrome/browser/importer/profile_writer.h"
6 6
7 #include <stddef.h>
8
7 #include <map> 9 #include <map>
8 #include <set> 10 #include <set>
9 #include <string> 11 #include <string>
10 12
11 #include "base/prefs/pref_service.h" 13 #include "base/prefs/pref_service.h"
12 #include "base/strings/string_number_conversions.h" 14 #include "base/strings/string_number_conversions.h"
13 #include "base/strings/stringprintf.h" 15 #include "base/strings/stringprintf.h"
14 #include "base/strings/utf_string_conversions.h" 16 #include "base/strings/utf_string_conversions.h"
15 #include "base/threading/thread.h" 17 #include "base/threading/thread.h"
18 #include "build/build_config.h"
16 #include "chrome/browser/bookmarks/bookmark_model_factory.h" 19 #include "chrome/browser/bookmarks/bookmark_model_factory.h"
17 #include "chrome/browser/chrome_notification_types.h" 20 #include "chrome/browser/chrome_notification_types.h"
18 #include "chrome/browser/favicon/favicon_service_factory.h" 21 #include "chrome/browser/favicon/favicon_service_factory.h"
19 #include "chrome/browser/history/history_service_factory.h" 22 #include "chrome/browser/history/history_service_factory.h"
20 #include "chrome/browser/password_manager/password_store_factory.h" 23 #include "chrome/browser/password_manager/password_store_factory.h"
21 #include "chrome/browser/profiles/profile.h" 24 #include "chrome/browser/profiles/profile.h"
22 #include "chrome/browser/search_engines/template_url_service_factory.h" 25 #include "chrome/browser/search_engines/template_url_service_factory.h"
23 #include "chrome/browser/web_data_service_factory.h" 26 #include "chrome/browser/web_data_service_factory.h"
24 #include "chrome/common/importer/imported_bookmark_entry.h" 27 #include "chrome/common/importer/imported_bookmark_entry.h"
25 #include "chrome/common/pref_names.h" 28 #include "chrome/common/pref_names.h"
(...skipping 313 matching lines...) Expand 10 before | Expand all | Expand 10 after
339 void ProfileWriter::AddAutofillFormDataEntries( 342 void ProfileWriter::AddAutofillFormDataEntries(
340 const std::vector<autofill::AutofillEntry>& autofill_entries) { 343 const std::vector<autofill::AutofillEntry>& autofill_entries) {
341 scoped_refptr<autofill::AutofillWebDataService> web_data_service = 344 scoped_refptr<autofill::AutofillWebDataService> web_data_service =
342 WebDataServiceFactory::GetAutofillWebDataForProfile( 345 WebDataServiceFactory::GetAutofillWebDataForProfile(
343 profile_, ServiceAccessType::EXPLICIT_ACCESS); 346 profile_, ServiceAccessType::EXPLICIT_ACCESS);
344 if (web_data_service.get()) 347 if (web_data_service.get())
345 web_data_service->UpdateAutofillEntries(autofill_entries); 348 web_data_service->UpdateAutofillEntries(autofill_entries);
346 } 349 }
347 350
348 ProfileWriter::~ProfileWriter() {} 351 ProfileWriter::~ProfileWriter() {}
OLDNEW
« no previous file with comments | « chrome/browser/importer/profile_writer.h ('k') | chrome/browser/importer/profile_writer_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698