summaryrefslogtreecommitdiff
path: root/chrome/utility/chrome_content_utility_ipc_whitelist.cc
blob: 7e2376a1ce055b3a62e15f41fbd38b83495fd487 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// 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"

#if defined(ENABLE_EXTENSIONS)
#include "chrome/common/extensions/chrome_utility_extensions_messages.h"
#endif

const uint32 kMessageWhitelist[] = {
#if defined(ENABLE_EXTENSIONS)
#if defined(OS_WIN)
    ChromeUtilityHostMsg_GetWiFiCredentials::ID,
#endif  // defined(OS_WIN)
    ChromeUtilityMsg_ImageWriter_Cancel::ID,
    ChromeUtilityMsg_ImageWriter_Write::ID,
    ChromeUtilityMsg_ImageWriter_Verify::ID
#endif  // defined(ENABLE_EXTENSIONS)
};

const size_t kMessageWhitelistSize = ARRAYSIZE_UNSAFE(kMessageWhitelist);