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

Unified Diff: components/translate/content/common/data_file_cld_data_provider_messages.h

Issue 2034413003: Delete the non-static CLD data source logic. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase to latest master Created 4 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: components/translate/content/common/data_file_cld_data_provider_messages.h
diff --git a/components/translate/content/common/data_file_cld_data_provider_messages.h b/components/translate/content/common/data_file_cld_data_provider_messages.h
deleted file mode 100644
index 2e8db3f94ea626e843adaa98b4a0716b84a819a9..0000000000000000000000000000000000000000
--- a/components/translate/content/common/data_file_cld_data_provider_messages.h
+++ /dev/null
@@ -1,38 +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.
-
-// NOT DEAD CODE!
-// This code isn't dead, even if it isn't currently being used. Please refer to:
-// https://www.chromium.org/developers/how-tos/compact-language-detector-cld-data-source-configuration
-
-// Multiply-included message file, hence no include guard.
-
-#include <stdint.h>
-
-#include "ipc/ipc_message_macros.h"
-#include "ipc/ipc_message_utils.h"
-#include "ipc/ipc_platform_file.h"
-
-// Note, for clean abstraction there is only one "CldDataProviderMessageStart"
-// that is declared in ipc_message_start.h. All implementations share it,
-// which avoids the need for each implementation to make its own entry.
-// This would otherwise be very messy, as there is no mechanism to customize
-// or extend the IPCMessageStart enum.
-#define IPC_MESSAGE_START CldDataProviderMsgStart
-
-// Informs the browser process that Compact Language Detector (CLD) data is
-// needed in the form of a data file.
-// This message is sent by a DataFileRendererCldDataProvider to a
-// DataFileBrowserCldDataProvider.
-IPC_MESSAGE_ROUTED0(ChromeFrameHostMsg_NeedCldDataFile)
-
-// Informs the renderer process that Compact Language Detector (CLD) data is
-// available and provides an IPC::PlatformFileForTransit obtained from
-// IPC::GetPlatformFileForTransit(...)
-// This message is sent by a DataFileBrowserCldDataProvider to a
-// DataFileRendererCldDataProvider.
-IPC_MESSAGE_ROUTED3(ChromeFrameMsg_CldDataFileAvailable,
- IPC::PlatformFileForTransit /* ipc_file_handle */,
- uint64_t /* data_offset */,
- uint64_t /* data_length */)

Powered by Google App Engine
This is Rietveld 408576698