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

Unified Diff: components/safe_browsing/common/safebrowsing_message_generator.cc

Issue 2450993003: Componentize safe_browsing [1]: create component, move messages, constants and switches. (Closed)
Patch Set: rebase + more fixes Created 4 years, 2 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: components/safe_browsing/common/safebrowsing_message_generator.cc
diff --git a/components/spellcheck/common/spellcheck_message_generator.cc b/components/safe_browsing/common/safebrowsing_message_generator.cc
similarity index 60%
copy from components/spellcheck/common/spellcheck_message_generator.cc
copy to components/safe_browsing/common/safebrowsing_message_generator.cc
index b11fe093bebe3bc658a7439ea3340f030440923c..8629de28c52d209580a78d2f0146db8ac569298f 100644
--- a/components/spellcheck/common/spellcheck_message_generator.cc
+++ b/components/safe_browsing/common/safebrowsing_message_generator.cc
@@ -4,36 +4,36 @@
// Get basic type definitions.
#define IPC_MESSAGE_IMPL
-#include "components/spellcheck/common/spellcheck_message_generator.h"
+#include "components/safe_browsing/common/safebrowsing_message_generator.h"
// Generate constructors.
#include "ipc/struct_constructor_macros.h"
-#include "components/spellcheck/common/spellcheck_message_generator.h"
+#include "components/safe_browsing/common/safebrowsing_message_generator.h"
// Generate destructors.
#include "ipc/struct_destructor_macros.h"
-#include "components/spellcheck/common/spellcheck_message_generator.h"
+#include "components/safe_browsing/common/safebrowsing_message_generator.h"
// Generate param traits size methods.
#include "ipc/param_traits_size_macros.h"
namespace IPC {
-#include "components/spellcheck/common/spellcheck_message_generator.h"
+#include "components/safe_browsing/common/safebrowsing_message_generator.h"
} // namespace IPC
// Generate param traits write methods.
#include "ipc/param_traits_write_macros.h"
namespace IPC {
-#include "components/spellcheck/common/spellcheck_message_generator.h"
+#include "components/safe_browsing/common/safebrowsing_message_generator.h"
} // namespace IPC
// Generate param traits read methods.
#include "ipc/param_traits_read_macros.h"
namespace IPC {
-#include "components/spellcheck/common/spellcheck_message_generator.h"
+#include "components/safe_browsing/common/safebrowsing_message_generator.h"
} // namespace IPC
// Generate param traits log methods.
#include "ipc/param_traits_log_macros.h"
namespace IPC {
-#include "components/spellcheck/common/spellcheck_message_generator.h"
+#include "components/safe_browsing/common/safebrowsing_message_generator.h"
} // namespace IPC

Powered by Google App Engine
This is Rietveld 408576698