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

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

Issue 2511683002: Remove unneeded stringprintf.h usage in chrome/ and net/ (Closed)
Patch Set: rebase Created 4 years, 1 month 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> 7 #include <stddef.h>
8 8
9 #include <map> 9 #include <map>
10 #include <set> 10 #include <set>
11 #include <string> 11 #include <string>
12 12
13 #include "base/memory/ptr_util.h" 13 #include "base/memory/ptr_util.h"
14 #include "base/metrics/histogram_macros.h" 14 #include "base/metrics/histogram_macros.h"
15 #include "base/strings/string_number_conversions.h" 15 #include "base/strings/string_number_conversions.h"
16 #include "base/strings/stringprintf.h"
17 #include "base/strings/utf_string_conversions.h" 16 #include "base/strings/utf_string_conversions.h"
18 #include "base/threading/thread.h" 17 #include "base/threading/thread.h"
19 #include "build/build_config.h" 18 #include "build/build_config.h"
20 #include "chrome/browser/bookmarks/bookmark_model_factory.h" 19 #include "chrome/browser/bookmarks/bookmark_model_factory.h"
21 #include "chrome/browser/chrome_notification_types.h" 20 #include "chrome/browser/chrome_notification_types.h"
22 #include "chrome/browser/favicon/favicon_service_factory.h" 21 #include "chrome/browser/favicon/favicon_service_factory.h"
23 #include "chrome/browser/first_run/first_run.h" 22 #include "chrome/browser/first_run/first_run.h"
24 #include "chrome/browser/history/history_service_factory.h" 23 #include "chrome/browser/history/history_service_factory.h"
25 #include "chrome/browser/password_manager/password_store_factory.h" 24 #include "chrome/browser/password_manager/password_store_factory.h"
26 #include "chrome/browser/profiles/profile.h" 25 #include "chrome/browser/profiles/profile.h"
(...skipping 322 matching lines...) Expand 10 before | Expand all | Expand 10 after
349 void ProfileWriter::AddAutofillFormDataEntries( 348 void ProfileWriter::AddAutofillFormDataEntries(
350 const std::vector<autofill::AutofillEntry>& autofill_entries) { 349 const std::vector<autofill::AutofillEntry>& autofill_entries) {
351 scoped_refptr<autofill::AutofillWebDataService> web_data_service = 350 scoped_refptr<autofill::AutofillWebDataService> web_data_service =
352 WebDataServiceFactory::GetAutofillWebDataForProfile( 351 WebDataServiceFactory::GetAutofillWebDataForProfile(
353 profile_, ServiceAccessType::EXPLICIT_ACCESS); 352 profile_, ServiceAccessType::EXPLICIT_ACCESS);
354 if (web_data_service.get()) 353 if (web_data_service.get())
355 web_data_service->UpdateAutofillEntries(autofill_entries); 354 web_data_service->UpdateAutofillEntries(autofill_entries);
356 } 355 }
357 356
358 ProfileWriter::~ProfileWriter() {} 357 ProfileWriter::~ProfileWriter() {}
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698