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

Side by Side Diff: chrome/utility/chrome_content_utility_ipc_whitelist.cc

Issue 345693002: Extensions: Split extensions utility IPC messages into its own file. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: disable another test Created 6 years, 5 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/utility/chrome_content_utility_ipc_whitelist.h" 5 #include "chrome/utility/chrome_content_utility_ipc_whitelist.h"
6 #include "chrome/common/chrome_utility_messages.h" 6
7 #if defined(ENABLE_EXTENSIONS)
8 #include "chrome/common/extensions/chrome_utility_extensions_messages.h"
9 #endif
7 10
8 const uint32 kMessageWhitelist[] = { 11 const uint32 kMessageWhitelist[] = {
9 #ifdef OS_WIN 12 #if defined(ENABLE_EXTENSIONS)
13 #if defined(OS_WIN)
10 ChromeUtilityHostMsg_GetAndEncryptWiFiCredentials::ID, 14 ChromeUtilityHostMsg_GetAndEncryptWiFiCredentials::ID,
11 #endif // OS_WIN 15 #endif // defined(OS_WIN)
12 ChromeUtilityMsg_ImageWriter_Cancel::ID, 16 ChromeUtilityMsg_ImageWriter_Cancel::ID,
13 ChromeUtilityMsg_ImageWriter_Write::ID, 17 ChromeUtilityMsg_ImageWriter_Write::ID,
14 ChromeUtilityMsg_ImageWriter_Verify::ID}; 18 ChromeUtilityMsg_ImageWriter_Verify::ID
19 #endif // defined(ENABLE_EXTENSIONS)
20 };
15 21
16 const size_t kMessageWhitelistSize = arraysize(kMessageWhitelist); 22 const size_t kMessageWhitelistSize = ARRAYSIZE_UNSAFE(kMessageWhitelist);
OLDNEW
« no previous file with comments | « chrome/utility/chrome_content_utility_client.cc ('k') | chrome/utility/extensions/extensions_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698