Updating trunk VERSION from 2139.0 to 2140.0
[chromium-blink-merge.git] / chrome / utility / chrome_content_utility_ipc_whitelist.cc
blob25c572e42d187e2cc91ed4b65fdb2ab7c44cae6a
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #include "chrome/utility/chrome_content_utility_ipc_whitelist.h"
7 #if defined(ENABLE_EXTENSIONS)
8 #include "chrome/common/extensions/chrome_utility_extensions_messages.h"
9 #endif
11 const uint32 kMessageWhitelist[] = {
12 #if defined(ENABLE_EXTENSIONS)
13 #if defined(OS_WIN)
14 ChromeUtilityHostMsg_GetAndEncryptWiFiCredentials::ID,
15 #endif // defined(OS_WIN)
16 ChromeUtilityMsg_ImageWriter_Cancel::ID,
17 ChromeUtilityMsg_ImageWriter_Write::ID,
18 ChromeUtilityMsg_ImageWriter_Verify::ID
19 #endif // defined(ENABLE_EXTENSIONS)
22 const size_t kMessageWhitelistSize = ARRAYSIZE_UNSAFE(kMessageWhitelist);