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

Delta Between Two Patch Sets: src/engine/Updater.h

Issue 10800092: Use libadblockplus update checker (Closed)
Left Patch Set: Created June 6, 2013, 3:18 p.m.
Right Patch Set: Addressed review comments Created June 7, 2013, 5:27 a.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
Left: Side by side diff | Download
Right: Side by side diff | Download
LEFTRIGHT
1 #ifndef UPDATER_H 1 #ifndef UPDATER_H
2 #define UPDATER_H 2 #define UPDATER_H
3 3
4 #include <string> 4 #include <string>
5 #include <Windows.h> 5 #include <Windows.h>
6 #include <AdblockPlus/JsEngine.h> 6 #include <AdblockPlus/JsEngine.h>
7 7
8 class Updater 8 class Updater
9 { 9 {
10 public: 10 public:
11 Updater(AdblockPlus::JsEnginePtr jsEngine, const std::string& url); 11 Updater(AdblockPlus::JsEnginePtr jsEngine, const std::string& url);
12 void StartUpdate(); 12 void Update();
13 void StartDownload(HWND dialog);
14 void RunDownload();
Wladimir Palant 2013/06/06 15:22:53 I don't think that the two functions above still n
Felix Dahlke 2013/06/06 17:44:00 Don't think so either :)
15 private: 13 private:
16 AdblockPlus::JsEnginePtr jsEngine; 14 AdblockPlus::JsEnginePtr jsEngine;
17 std::string url; 15 std::string url;
18 std::wstring tempFile; 16 std::wstring tempFile;
19 HWND dialog; 17 HWND dialog;
18
19 void StartDownload(HWND dialog);
20 void RunDownload();
20 }; 21 };
21 22
22 #endif // UPDATER_H 23 #endif // UPDATER_H
LEFTRIGHT

Powered by Google App Engine
This is Rietveld