Browse Source

use existing ipc message generator

deepak1556 8 years ago
parent
commit
6cb626db88

+ 1 - 0
atom/common/common_message_generator.h

@@ -9,3 +9,4 @@
 #include "chrome/common/tts_messages.h"
 #include "chrome/common/widevine_cdm_messages.h"
 #include "chrome/common/chrome_utility_messages.h"
+#include "components/pdf/common/pdf_messages.h"

+ 0 - 39
chromium_src/components/pdf/common/pdf_message_generator.cc

@@ -1,39 +0,0 @@
-// Copyright 2014 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.
-
-// Get basic type definitions.
-#define IPC_MESSAGE_IMPL
-#include "components/pdf/common/pdf_message_generator.h"
-
-// Generate constructors.
-#include "ipc/struct_constructor_macros.h"
-#include "components/pdf/common/pdf_message_generator.h"
-
-// Generate destructors.
-#include "ipc/struct_destructor_macros.h"
-#include "components/pdf/common/pdf_message_generator.h"
-
-// Generate param traits size methods.
-#include "ipc/param_traits_size_macros.h"
-namespace IPC {
-#include "components/pdf/common/pdf_message_generator.h"
-}
-
-// Generate param traits write methods.
-#include "ipc/param_traits_write_macros.h"
-namespace IPC {
-#include "components/pdf/common/pdf_message_generator.h"
-}  // namespace IPC
-
-// Generate param traits read methods.
-#include "ipc/param_traits_read_macros.h"
-namespace IPC {
-#include "components/pdf/common/pdf_message_generator.h"
-}  // namespace IPC
-
-// Generate param traits log methods.
-#include "ipc/param_traits_log_macros.h"
-namespace IPC {
-#include "components/pdf/common/pdf_message_generator.h"
-}  // namespace IPC

+ 0 - 7
chromium_src/components/pdf/common/pdf_message_generator.h

@@ -1,7 +0,0 @@
-// Copyright 2014 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.
-
-// Multiply-included file, no traditional include guard.
-
-#include "components/pdf/common/pdf_messages.h"

+ 0 - 2
filenames.gypi

@@ -613,8 +613,6 @@
       'chromium_src/chrome/renderer/tts_dispatcher.cc',
       'chromium_src/chrome/renderer/tts_dispatcher.h',
       'chromium_src/chrome/utility/utility_message_handler.h',
-      'chromium_src/components/pdf/common/pdf_message_generator.cc',
-      'chromium_src/components/pdf/common/pdf_message_generator.h',
       'chromium_src/components/pdf/common/pdf_messages.h',
       'chromium_src/components/pdf/renderer/pepper_pdf_host.cc',
       'chromium_src/components/pdf/renderer/pepper_pdf_host.h',