Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(462)

Issue 7548024: Refactor: Make PyAuto InstallExtension() take a string. Delete dead code. (Closed)

Created:
9 years, 4 months ago by dtu
Modified:
9 years, 4 months ago
CC:
chromium-reviews, John Grabowski, Erik does not do reviews, Aaron Boodman, anantha, dyu1, Paweł Hajdan Jr., dennis_jeffrey
Visibility:
Public.

Description

Refactor: Make PyAuto InstallExtension() take a string. Delete dead code. BUG=chromium:86890 TEST=Run the modified PyAuto tests on all platforms. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=95490

Patch Set 1 : Initial commit. #

Total comments: 1

Patch Set 2 : Comment per nirnimesh. #

Total comments: 5

Patch Set 3 : Change AutomationMsg_InstallExtension back to FilePath. #

Total comments: 1

Patch Set 4 : Fixup per kkania. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+61 lines, -223 lines) Patch
M chrome/browser/automation/automation_provider.h View 1 2 1 chunk +3 lines, -6 lines 0 comments Download
M chrome/browser/automation/automation_provider.cc View 1 2 4 chunks +10 lines, -33 lines 0 comments Download
M chrome/browser/automation/automation_provider_observers.h View 1 chunk +0 lines, -26 lines 0 comments Download
M chrome/browser/automation/automation_provider_observers.cc View 2 chunks +2 lines, -57 lines 0 comments Download
M chrome/common/automation_constants.h View 1 2 1 chunk +0 lines, -5 lines 0 comments Download
M chrome/common/automation_messages.h View 1 2 2 chunks +0 lines, -9 lines 0 comments Download
M chrome/common/automation_messages.cc View 1 2 1 chunk +0 lines, -39 lines 0 comments Download
M chrome/common/automation_messages_internal.h View 1 2 2 chunks +9 lines, -9 lines 0 comments Download
M chrome/test/automation/automation_proxy.h View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/test/automation/automation_proxy.cc View 1 2 1 chunk +3 lines, -3 lines 0 comments Download
M chrome/test/functional/chromeos_security.py View 2 chunks +4 lines, -6 lines 0 comments Download
M chrome/test/functional/extensions.py View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/test/functional/memory.py View 1 chunk +2 lines, -3 lines 0 comments Download
M chrome/test/functional/ntp.py View 2 chunks +6 lines, -9 lines 0 comments Download
M chrome/test/functional/themes.py View 5 chunks +4 lines, -5 lines 0 comments Download
M chrome/test/pyautolib/pyautolib.h View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/test/pyautolib/pyautolib.cc View 1 2 3 1 chunk +7 lines, -2 lines 0 comments Download
M chrome/test/pyautolib/pyautolib.i View 1 chunk +5 lines, -5 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
dtu
9 years, 4 months ago (2011-08-02 23:52:29 UTC) #1
Nirnimesh
LGTM http://codereview.chromium.org/7548024/diff/2001/chrome/common/automation_messages_internal.h File chrome/common/automation_messages_internal.h (right): http://codereview.chromium.org/7548024/diff/2001/chrome/common/automation_messages_internal.h#newcode1301 chrome/common/automation_messages_internal.h:1301: std::string /* full path to extension */, append: ...
9 years, 4 months ago (2011-08-03 01:28:18 UTC) #2
kkania
http://codereview.chromium.org/7548024/diff/7001/chrome/browser/automation/automation_provider.cc File chrome/browser/automation/automation_provider.cc (right): http://codereview.chromium.org/7548024/diff/7001/chrome/browser/automation/automation_provider.cc#newcode775 chrome/browser/automation/automation_provider.cc:775: const FilePath extension_file_path = FilePath(extension_path); this wont compile on ...
9 years, 4 months ago (2011-08-03 16:01:56 UTC) #3
dtu
http://codereview.chromium.org/7548024/diff/7001/chrome/common/automation_messages_internal.h File chrome/common/automation_messages_internal.h (right): http://codereview.chromium.org/7548024/diff/7001/chrome/common/automation_messages_internal.h#newcode1301 chrome/common/automation_messages_internal.h:1301: std::string /* full path to crx or unpacked dir ...
9 years, 4 months ago (2011-08-03 19:31:52 UTC) #4
kkania
http://codereview.chromium.org/7548024/diff/7001/chrome/common/automation_messages_internal.h File chrome/common/automation_messages_internal.h (right): http://codereview.chromium.org/7548024/diff/7001/chrome/common/automation_messages_internal.h#newcode1301 chrome/common/automation_messages_internal.h:1301: std::string /* full path to crx or unpacked dir ...
9 years, 4 months ago (2011-08-03 20:25:34 UTC) #5
dtu
Now the conversion from string to FilePath is in pyautolib.cc, so there's no change on ...
9 years, 4 months ago (2011-08-03 22:40:34 UTC) #6
kkania
LGTM, one comment http://codereview.chromium.org/7548024/diff/17001/chrome/test/pyautolib/pyautolib.cc File chrome/test/pyautolib/pyautolib.cc (right): http://codereview.chromium.org/7548024/diff/17001/chrome/test/pyautolib/pyautolib.cc#newcode213 chrome/test/pyautolib/pyautolib.cc:213: automation()->InstallExtension(FilePath(extension_file_path), with_ui); no reason to copy ...
9 years, 4 months ago (2011-08-03 23:52:46 UTC) #7
commit-bot: I haz the power
9 years, 4 months ago (2011-08-04 21:05:28 UTC) #8
Change committed as 95490

Powered by Google App Engine
This is Rietveld 408576698