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

Side by Side Diff: chrome/utility/chrome_content_utility_client.h

Issue 2663603002: Convert utility process ImageWriter IPC to mojo (Closed)
Patch Set: Remove test DLOG, minor name changes. 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 #ifndef CHROME_UTILITY_CHROME_CONTENT_UTILITY_CLIENT_H_ 5 #ifndef CHROME_UTILITY_CHROME_CONTENT_UTILITY_CLIENT_H_
6 #define CHROME_UTILITY_CHROME_CONTENT_UTILITY_CLIENT_H_ 6 #define CHROME_UTILITY_CHROME_CONTENT_UTILITY_CLIENT_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <memory> 10 #include <memory>
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 const IPC::PlatformFileForTransit& temp_file); 62 const IPC::PlatformFileForTransit& temp_file);
63 #if defined(OS_MACOSX) 63 #if defined(OS_MACOSX)
64 void OnAnalyzeDmgFileForDownloadProtection( 64 void OnAnalyzeDmgFileForDownloadProtection(
65 const IPC::PlatformFileForTransit& dmg_file); 65 const IPC::PlatformFileForTransit& dmg_file);
66 #endif // defined(OS_MACOSX) 66 #endif // defined(OS_MACOSX)
67 #endif // defined(FULL_SAFE_BROWSING) 67 #endif // defined(FULL_SAFE_BROWSING)
68 68
69 typedef ScopedVector<UtilityMessageHandler> Handlers; 69 typedef ScopedVector<UtilityMessageHandler> Handlers;
70 Handlers handlers_; 70 Handlers handlers_;
71 71
72 // Flag to enable whitelisting.
73 bool filter_messages_;
74 // A list of message_ids to filter.
75 std::set<int> message_id_whitelist_;
76
77 DISALLOW_COPY_AND_ASSIGN(ChromeContentUtilityClient); 72 DISALLOW_COPY_AND_ASSIGN(ChromeContentUtilityClient);
78 }; 73 };
79 74
80 #endif // CHROME_UTILITY_CHROME_CONTENT_UTILITY_CLIENT_H_ 75 #endif // CHROME_UTILITY_CHROME_CONTENT_UTILITY_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698