Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: src/plugin/PluginTabBase.cpp

Issue 11043057: First run page triggering (Closed)
Patch Set: Minor refactoring. Renaming and a small cleanup. Created July 26, 2013, 12:05 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/plugin/PluginSettings.cpp ('k') | src/plugin/PluginUserSettings.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/plugin/PluginTabBase.cpp
===================================================================
--- a/src/plugin/PluginTabBase.cpp
+++ b/src/plugin/PluginTabBase.cpp
@@ -133,8 +133,9 @@
CString log;
log.Format(L"Current URL: %s, settings URL: %s", url, UserSettingsFileUrl().c_str());
- DEBUG_ERROR_LOG(0, 0, 0, log);
- if (0 == url.CompareNoCase(CString(UserSettingsFileUrl().c_str())))
+ DEBUG_GENERAL(log);
+ if (0 == url.CompareNoCase(CString(UserSettingsFileUrl().c_str())) ||
+ 0 == url.CompareNoCase(CString(FirstRunPageFileUrl().c_str())) )
{
CComPtr<IDispatch> pDocDispatch;
browser->get_Document(&pDocDispatch);
« no previous file with comments | « src/plugin/PluginSettings.cpp ('k') | src/plugin/PluginUserSettings.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld