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

Unified Diff: chrome/utility/profile_import_handler.cc

Issue 323693002: Split printing utility IPC messages into its own file. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 6 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 side-by-side diff with in-line comments
Download patch
Index: chrome/utility/profile_import_handler.cc
diff --git a/chrome/utility/profile_import_handler.cc b/chrome/utility/profile_import_handler.cc
index 457269db73c1af2fe79b6bcc4e5367c07f56bd99..bdc43350457d512768606f0e3a9f5861fb4bba1d 100644
--- a/chrome/utility/profile_import_handler.cc
+++ b/chrome/utility/profile_import_handler.cc
@@ -14,7 +14,13 @@
#include "chrome/utility/importer/importer_creator.h"
#include "content/public/utility/utility_thread.h"
-namespace chrome {
+namespace {
+
+bool Send(IPC::Message* message) {
+ return content::UtilityThread::Get()->Send(message);
+}
+
+} // namespace
ProfileImportHandler::ProfileImportHandler() : items_to_import_(0) {}
@@ -83,10 +89,3 @@ void ProfileImportHandler::ImporterCleanup() {
import_thread_.reset();
content::UtilityThread::Get()->ReleaseProcessIfNeeded();
}
-
-// static
-bool ProfileImportHandler::Send(IPC::Message* message) {
- return content::UtilityThread::Get()->Send(message);
-}
-
-} // namespace chrome

Powered by Google App Engine
This is Rietveld 408576698