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

Issue 1238006: Adding new test for mount observer. Also changing the usb mounter to only rel... (Closed)

Created:
10 years, 9 months ago by dhg
Modified:
9 years, 7 months ago
Reviewers:
zel, Paweł Hajdan Jr.
CC:
chromium-reviews, ben+cc_chromium.org
Visibility:
Public.

Description

Adding new test for mount observer. Also changing the usb mounter to only reload the correct tab, not the full browser. BUG=chromium-os:2057 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=42696

Patch Set 1 #

Total comments: 1

Patch Set 2 : '' #

Patch Set 3 : '' #

Patch Set 4 : '' #

Total comments: 2

Patch Set 5 : '' #

Total comments: 1

Patch Set 6 : '' #

Patch Set 7 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+174 lines, -7 lines) Patch
M chrome/browser/chromeos/cros/mock_mount_library.h View 1 2 2 chunks +34 lines, -6 lines 0 comments Download
A chrome/browser/chromeos/cros/mock_mount_library.cc View 1 1 chunk +79 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/usb_mount_observer.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
A chrome/browser/chromeos/usb_mount_observer_browsertest.cc View 1 2 3 4 5 6 1 chunk +57 lines, -0 lines 0 comments Download
M chrome/chrome_tests.gypi View 2 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
dhg
10 years, 9 months ago (2010-03-24 23:00:16 UTC) #1
Paweł Hajdan Jr.
Drive-by with a minor test comment. http://codereview.chromium.org/1238006/diff/1/3 File chrome/browser/chromeos/usb_mount_observer_browsertest.cc (right): http://codereview.chromium.org/1238006/diff/1/3#newcode47 chrome/browser/chromeos/usb_mount_observer_browsertest.cc:47: chromeos::MockMountLibrary* lib = ...
10 years, 9 months ago (2010-03-25 06:47:02 UTC) #2
dhg
Done. Also updated to use GMock. On 2010/03/25 06:47:02, Paweł Hajdan Jr. wrote: > Drive-by ...
10 years, 9 months ago (2010-03-25 17:22:52 UTC) #3
zel
LGTM few minor comments http://codereview.chromium.org/1238006/diff/18001/19001 File chrome/browser/chromeos/usb_mount_observer.cc (right): http://codereview.chromium.org/1238006/diff/18001/19001#newcode66 chrome/browser/chromeos/usb_mount_observer.cc:66: const chromeos::MountLibrary::DiskVector& disks = obj->disks(); ...
10 years, 9 months ago (2010-03-25 17:30:12 UTC) #4
dhg
oh and done on the other one too. On Thu, Mar 25, 2010 at 10:33 ...
10 years, 9 months ago (2010-03-25 17:34:28 UTC) #5
dhg
re: profile. It doesn't work. I tried the mock one. There's a whole bunch of ...
10 years, 9 months ago (2010-03-25 17:34:34 UTC) #6
Paweł Hajdan Jr.
After fixing the nit LGTM. http://codereview.chromium.org/1238006/diff/24001/25002 File chrome/browser/chromeos/usb_mount_observer_browsertest.cc (right): http://codereview.chromium.org/1238006/diff/24001/25002#newcode44 chrome/browser/chromeos/usb_mount_observer_browsertest.cc:44: GURL("chrome://downloads")); nit: Please use ...
10 years, 9 months ago (2010-03-25 20:58:38 UTC) #7
dhg
10 years, 9 months ago (2010-03-25 21:43:35 UTC) #8
Done
On 2010/03/25 20:58:38, Paweł Hajdan Jr. wrote:
> After fixing the nit LGTM.
> 
> http://codereview.chromium.org/1238006/diff/24001/25002
> File chrome/browser/chromeos/usb_mount_observer_browsertest.cc (right):
> 
> http://codereview.chromium.org/1238006/diff/24001/25002#newcode44
> chrome/browser/chromeos/usb_mount_observer_browsertest.cc:44:
> GURL("chrome://downloads"));
> nit: Please use a constant from chrome/common/url_constants.h

Powered by Google App Engine
This is Rietveld 408576698