Index: chrome_frame/chrome_frame_activex.h |
=================================================================== |
--- chrome_frame/chrome_frame_activex.h (revision 65052) |
+++ chrome_frame/chrome_frame_activex.h (working copy) |
@@ -104,6 +104,10 @@ |
const std::vector<FilePath>& extension_directories); |
virtual void OnChannelError(); |
+ // Separated to static function for unit testing this logic more easily. |
+ static bool ShouldShowVersionMismatchDialog(bool is_privileged, |
+ IOleClientSite* client_site); |
+ |
private: |
LRESULT OnCreate(UINT message, WPARAM wparam, LPARAM lparam, |
BOOL& handled); // NO_LINT |