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

Unified Diff: chrome/browser/external_protocol_handler.h

Issue 256065: External protocol dialog support for the Mac.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 2 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/browser/external_protocol_handler.h
===================================================================
--- chrome/browser/external_protocol_handler.h (revision 28103)
+++ chrome/browser/external_protocol_handler.h (working copy)
@@ -23,6 +23,9 @@
// Returns whether we should block a given scheme.
static BlockState GetBlockState(const std::wstring& scheme);
+ // Sets whether we should block a given scheme.
+ static void SetBlockState(const std::wstring& scheme, BlockState state);
+
// Checks to see if the protocol is allowed, if it is whitelisted,
// the application associated with the protocol is launched on the io thread,
// if it is blacklisted, returns silently. Otherwise, an

Powered by Google App Engine
This is Rietveld 408576698