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

Unified Diff: chrome/utility/chrome_content_utility_ipc_whitelist.cc

Issue 2663603002: Convert utility process ImageWriter IPC to mojo (Closed)
Patch Set: Use https: in bug references, minor comment fixes. Created 3 years, 10 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/chrome_content_utility_ipc_whitelist.cc
diff --git a/chrome/utility/chrome_content_utility_ipc_whitelist.cc b/chrome/utility/chrome_content_utility_ipc_whitelist.cc
deleted file mode 100644
index c9fc8c6bf6445dd0e062d1128a4c2cbf378e714b..0000000000000000000000000000000000000000
--- a/chrome/utility/chrome_content_utility_ipc_whitelist.cc
+++ /dev/null
@@ -1,25 +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.
-
-#include "chrome/utility/chrome_content_utility_ipc_whitelist.h"
-
-#include "base/macros.h"
-#include "build/build_config.h"
-#include "extensions/features/features.h"
-
-#if BUILDFLAG(ENABLE_EXTENSIONS)
-#include "chrome/common/extensions/chrome_utility_extensions_messages.h"
-#endif
-
-#if BUILDFLAG(ENABLE_EXTENSIONS)
-const uint32_t kMessageWhitelist[] = {
- ChromeUtilityMsg_ImageWriter_Cancel::ID,
- ChromeUtilityMsg_ImageWriter_Write::ID,
- ChromeUtilityMsg_ImageWriter_Verify::ID};
-const size_t kMessageWhitelistSize = arraysize(kMessageWhitelist);
-#else
-// Note: Zero-size arrays are not valid C++.
-const uint32_t kMessageWhitelist[] = {0};
-const size_t kMessageWhitelistSize = 0;
-#endif // BUILDFLAG(ENABLE_EXTENSIONS)
« no previous file with comments | « chrome/utility/chrome_content_utility_ipc_whitelist.h ('k') | chrome/utility/extensions/extensions_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698