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

Issue 11043057: First run page triggering (Closed)

Created:
July 11, 2013, 9:49 a.m. by Oleksandr
Modified:
Aug. 5, 2013, 1 p.m.
Visibility:
Public.

Description

First run page triggering

Patch Set 1 #

Total comments: 11

Patch Set 2 : Comments addressed #

Total comments: 3

Patch Set 3 : Injecting an object for localization #

Total comments: 1

Patch Set 4 : Ditching the statusbarasked #

Total comments: 2

Patch Set 5 : All changes #

Total comments: 5

Patch Set 6 : Minor refactoring. Renaming and a small cleanup. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+139 lines, -184 lines) Patch
M html/static/js/IESettings.js View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
M src/engine/main.cpp View 1 2 3 4 5 3 chunks +18 lines, -0 lines 0 comments Download
M src/plugin/AdblockPlusClient.h View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M src/plugin/AdblockPlusClient.cpp View 1 2 3 4 1 chunk +8 lines, -0 lines 0 comments Download
M src/plugin/PluginClass.h View 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M src/plugin/PluginClass.cpp View 1 2 3 4 5 6 chunks +83 lines, -143 lines 0 comments Download
M src/plugin/PluginSettings.h View 1 2 3 4 3 chunks +0 lines, -8 lines 0 comments Download
M src/plugin/PluginSettings.cpp View 1 2 3 4 2 chunks +0 lines, -20 lines 0 comments Download
M src/plugin/PluginTabBase.cpp View 1 2 3 4 5 1 chunk +3 lines, -2 lines 0 comments Download
M src/plugin/PluginUserSettings.cpp View 1 2 3 4 3 chunks +7 lines, -6 lines 0 comments Download
M src/plugin/PluginUtil.h View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download
M src/plugin/PluginUtil.cpp View 1 2 3 4 5 1 chunk +11 lines, -1 line 0 comments Download
M src/shared/Communication.h View 1 2 3 4 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 14
Oleksandr
July 11, 2013, 10:05 a.m. (2013-07-11 10:05:48 UTC) #1
Wladimir Palant
http://codereview.adblockplus.org/11043057/diff/1/src/engine/main.cpp File src/engine/main.cpp (right): http://codereview.adblockplus.org/11043057/diff/1/src/engine/main.cpp#newcode171 src/engine/main.cpp:171: { Wrong indentation? http://codereview.adblockplus.org/11043057/diff/1/src/plugin/AdblockPlusClient.cpp File src/plugin/AdblockPlusClient.cpp (right): http://codereview.adblockplus.org/11043057/diff/1/src/plugin/AdblockPlusClient.cpp#newcode421 src/plugin/AdblockPlusClient.cpp:421: ...
July 11, 2013, 11:58 a.m. (2013-07-11 11:58:10 UTC) #2
Oleksandr
July 20, 2013, 8:17 p.m. (2013-07-20 20:17:55 UTC) #3
Oleksandr
http://codereview.adblockplus.org/11043057/diff/1/src/plugin/PluginClass.cpp File src/plugin/PluginClass.cpp (right): http://codereview.adblockplus.org/11043057/diff/1/src/plugin/PluginClass.cpp#newcode1046 src/plugin/PluginClass.cpp:1046: } This turned out to be unnecessary after all. ...
July 20, 2013, 8:22 p.m. (2013-07-20 20:22:30 UTC) #4
Wladimir Palant
Only minor comments, LGTM if these are addressed. http://codereview.adblockplus.org/11043057/diff/18001/src/engine/main.cpp File src/engine/main.cpp (right): http://codereview.adblockplus.org/11043057/diff/18001/src/engine/main.cpp#newcode179 src/engine/main.cpp:179: response ...
July 21, 2013, 11:53 a.m. (2013-07-21 11:53:45 UTC) #5
Wladimir Palant
http://codereview.adblockplus.org/11043057/diff/17002/src/plugin/PluginUserSettings.cpp File src/plugin/PluginUserSettings.cpp (right): http://codereview.adblockplus.org/11043057/diff/17002/src/plugin/PluginUserSettings.cpp#newcode103 src/plugin/PluginUserSettings.cpp:103: return CString(dictionary->Lookup(std::string(CW2A(section)), std::string(CW2A(key))).c_str()); Since you didn't address that comment ...
July 22, 2013, 6:11 a.m. (2013-07-22 06:11:43 UTC) #6
Oleksandr
Ditched the statusbarasked http://codereview.adblockplus.org/11043057/diff/11006/src/plugin/AdblockPlusClient.h File src/plugin/AdblockPlusClient.h (right): http://codereview.adblockplus.org/11043057/diff/11006/src/plugin/AdblockPlusClient.h#newcode74 src/plugin/AdblockPlusClient.h:74: bool IsFirstRun(); Please never mind this. ...
July 22, 2013, 9:04 a.m. (2013-07-22 09:04:51 UTC) #7
Felix Dahlke
LGTM
July 25, 2013, 1:53 p.m. (2013-07-25 13:53:38 UTC) #8
Felix Dahlke
Gotta revert that, seems like the latest patch set didn't include all changes. Can you ...
July 25, 2013, 1:56 p.m. (2013-07-25 13:56:35 UTC) #9
Oleksandr
Uploaded all changes in Patch set #5
July 25, 2013, 2:03 p.m. (2013-07-25 14:03:23 UTC) #10
Felix Dahlke
http://codereview.adblockplus.org/11043057/diff/31001/src/engine/main.cpp File src/engine/main.cpp (right): http://codereview.adblockplus.org/11043057/diff/31001/src/engine/main.cpp#newcode44 src/engine/main.cpp:44: bool firstRunActionTaken = false; "firstRunActionTaken" sounds wrong to my ...
July 25, 2013, 2:54 p.m. (2013-07-25 14:54:37 UTC) #11
Oleksandr
On 2013/07/25 14:54:37, Felix H. Dahlke wrote: > http://codereview.adblockplus.org/11043057/diff/31001/src/engine/main.cpp > File src/engine/main.cpp (right): > > ...
July 26, 2013, 12:06 p.m. (2013-07-26 12:06:52 UTC) #12
Oleksandr
http://codereview.adblockplus.org/11043057/diff/31001/src/engine/main.cpp File src/engine/main.cpp (right): http://codereview.adblockplus.org/11043057/diff/31001/src/engine/main.cpp#newcode221 src/engine/main.cpp:221: case Communication::PROC_IS_FIRST_RUN_ACTION_NEEDED: I would say the PROC_IS_FIRST_RUN would be ...
July 26, 2013, 12:07 p.m. (2013-07-26 12:07:01 UTC) #13
Felix Dahlke
Aug. 2, 2013, 10:52 a.m. (2013-08-02 10:52:24 UTC) #14
LGTM

http://codereview.adblockplus.org/11043057/diff/31001/src/engine/main.cpp
File src/engine/main.cpp (right):

http://codereview.adblockplus.org/11043057/diff/31001/src/engine/main.cpp#new...
src/engine/main.cpp:221: case Communication::PROC_IS_FIRST_RUN_ACTION_NEEDED:
On 2013/07/26 12:07:01, Oleksandr wrote:
> I would say the PROC_IS_FIRST_RUN would be confusing, since one might think it
> is just checking for IsFirstRun. That is not the case, so I wanted to be more
> explicit here.
> 
> On 2013/07/25 14:54:37, Felix H. Dahlke wrote:
> > How about PROC_IS_FIRST_RUN? The function invoking this is called
IsFirstRun()
> > after all.
> 

Fair enough I guess. Might want to rename IsFirstRun() though.

Powered by Google App Engine
This is Rietveld