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

Unified Diff: chrome/utility/chrome_content_utility_ipc_whitelist.cc

Issue 61643015: Adds imageWriterPrivate support for Windows (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Cleanup and now working on Windows with minimal changes. Created 6 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
index 5715a9ccbf9e7efb8a5bec0a4fb2f12574554694..212d13306e25e4007cd9ef0fc9e04fd31fa2271a 100644
--- a/chrome/utility/chrome_content_utility_ipc_whitelist.cc
+++ b/chrome/utility/chrome_content_utility_ipc_whitelist.cc
@@ -1,12 +1,15 @@
-// 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"
-
-namespace chrome {
-
-const uint32 kMessageWhitelist[] = {0};
-const size_t kMessageWhitelistSize = arraysize(kMessageWhitelist);
-
-} // namespace chrome
+// 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 "chrome/common/chrome_utility_messages.h"
+
+namespace chrome {
+
+const uint32 kMessageWhitelist[] = {ChromeUtilityMsg_ImageWriter_Cancel::ID,
+ ChromeUtilityMsg_ImageWriter_Write::ID,
+ ChromeUtilityMsg_ImageWriter_Verify::ID};
Matt Perry 2014/02/14 00:16:23 What does this do?
Drew Haven 2014/02/14 02:32:56 In Windows we have to do our writing to USB device
+const size_t kMessageWhitelistSize = arraysize(kMessageWhitelist);
+
+} // namespace chrome

Powered by Google App Engine
This is Rietveld 408576698