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

Unified Diff: src/engine/Main.cpp

Issue 11276031: FRP wrappers. "Update" menu item. (Closed)
Patch Set: Handle incorrect parameters for UpdateAvailable as an error Created Aug. 9, 2013, 8:11 a.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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/engine/Main.cpp
===================================================================
--- a/src/engine/Main.cpp
+++ b/src/engine/Main.cpp
@@ -323,12 +323,12 @@
void OnUpdateAvailable(AdblockPlus::JsValueList& params)
{
- updateAvailable = true;
if (params.size() < 1)
{
Debug("updateAvailable event missing URL");
return;
}
+ updateAvailable = true;
Oleksandr 2013/08/09 08:17:39 Probably the most discussed line of code
Felix Dahlke 2013/08/09 09:15:29 Quite definitely :D
updater->SetUrl(params[0]->AsString());
updater->Update();
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld