summaryrefslogtreecommitdiffstats
path: root/chrome/profile_import
diff options
context:
space:
mode:
authortfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-30 17:05:15 +0000
committertfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-30 17:05:15 +0000
commit25013eb850c92c232ec232bc1b9e475a98e389d9 (patch)
treeaae64bf42602502ab6785cca388dc85e328b3060 /chrome/profile_import
parent4cd7ba1d972ef5206b7a3d2f23304f1f0ea3faf0 (diff)
downloadchromium_src-25013eb850c92c232ec232bc1b9e475a98e389d9.zip
chromium_src-25013eb850c92c232ec232bc1b9e475a98e389d9.tar.gz
chromium_src-25013eb850c92c232ec232bc1b9e475a98e389d9.tar.bz2
iwyu: Cleanup profile_import directory.
BUG=None TEST=None R=jhawkins@chromium.org Review URL: http://codereview.chromium.org/6759032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79853 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/profile_import')
-rw-r--r--chrome/profile_import/profile_import_main.cc9
-rw-r--r--chrome/profile_import/profile_import_thread.cc5
-rw-r--r--chrome/profile_import/profile_import_thread.h12
3 files changed, 19 insertions, 7 deletions
diff --git a/chrome/profile_import/profile_import_main.cc b/chrome/profile_import/profile_import_main.cc
index 9b07737..01a7c35 100644
--- a/chrome/profile_import/profile_import_main.cc
+++ b/chrome/profile_import/profile_import_main.cc
@@ -1,16 +1,13 @@
-// Copyright (c) 2009 The Chromium Authors. All rights reserved.
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "base/command_line.h"
#include "base/message_loop.h"
-#include "base/string_util.h"
#include "base/threading/platform_thread.h"
-#include "chrome/common/chrome_constants.h"
-#include "chrome/common/logging_chrome.h"
#include "chrome/profile_import/profile_import_thread.h"
#include "content/common/child_process.h"
-#include "content/common/main_function_params.h"
+
+struct MainFunctionParams;
// Mainline routine for running as the profile import process.
int ProfileImportMain(const MainFunctionParams& parameters) {
diff --git a/chrome/profile_import/profile_import_thread.cc b/chrome/profile_import/profile_import_thread.cc
index 562911f..3c1d3f2 100644
--- a/chrome/profile_import/profile_import_thread.cc
+++ b/chrome/profile_import/profile_import_thread.cc
@@ -4,8 +4,11 @@
#include "chrome/profile_import/profile_import_thread.h"
+#include <stddef.h>
#include <algorithm>
+#include "base/message_loop.h"
+#include "base/threading/thread.h"
#include "base/values.h"
#include "chrome/browser/importer/external_process_importer_bridge.h"
#include "chrome/browser/importer/importer.h"
@@ -13,6 +16,8 @@
#include "chrome/browser/importer/importer_messages.h"
#include "chrome/browser/search_engines/template_url.h"
#include "content/common/child_process.h"
+#include "googleurl/src/gurl.h"
+#include "ipc/ipc_message_macros.h"
namespace {
// Rather than sending all import items over IPC at once we chunk them into
diff --git a/chrome/profile_import/profile_import_thread.h b/chrome/profile_import/profile_import_thread.h
index 24ecc91..80284eb 100644
--- a/chrome/profile_import/profile_import_thread.h
+++ b/chrome/profile_import/profile_import_thread.h
@@ -10,8 +10,8 @@
#include <vector>
#include "base/basictypes.h"
+#include "base/memory/ref_counted.h"
#include "base/memory/scoped_ptr.h"
-#include "base/threading/thread.h"
#include "chrome/browser/history/history_types.h"
#include "chrome/browser/importer/importer_data_types.h"
#include "chrome/browser/importer/profile_writer.h"
@@ -20,7 +20,17 @@
class DictionaryValue;
class ExternalProcessImporterBridge;
+class GURL;
class Importer;
+class TemplateURL;
+
+namespace base {
+class Thread;
+}
+
+namespace IPC {
+class Message;
+}
// This class represents the background thread which communicates with the
// importer work thread in the importer process.