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

Unified Diff: chrome/utility/chrome_content_utility_client.h

Issue 98603007: Launches a privileged utility process. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removes unnecessary casts, extra tests and cleans up launch.cc 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_client.h
diff --git a/chrome/utility/chrome_content_utility_client.h b/chrome/utility/chrome_content_utility_client.h
index 4f8187ef044ffb62faa76e2c42726f3c1aa69211..707390b4b2b7becc8a42a304df5de8d79d2ef63d 100644
--- a/chrome/utility/chrome_content_utility_client.h
+++ b/chrome/utility/chrome_content_utility_client.h
@@ -106,6 +106,11 @@ class ChromeContentUtilityClient : public content::ContentUtilityClient {
typedef ScopedVector<UtilityMessageHandler> Handlers;
Handlers handlers_;
+ // Flag to enable whitelisting.
+ bool filter_messages_;
+ // A list of message_ids to filter.
+ std::set<int> message_id_whitelist_;
+
DISALLOW_COPY_AND_ASSIGN(ChromeContentUtilityClient);
};

Powered by Google App Engine
This is Rietveld 408576698