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

Side by Side Diff: chrome/browser/storage_monitor/mock_removable_storage_observer.cc

Issue 23727009: Cleanup: Remove chrome namespace for storage monitor and media galleries. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix nit Created 7 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/storage_monitor/mock_removable_storage_observer.h" 5 #include "chrome/browser/storage_monitor/mock_removable_storage_observer.h"
6 6
7 namespace chrome {
8
9 MockRemovableStorageObserver::MockRemovableStorageObserver() 7 MockRemovableStorageObserver::MockRemovableStorageObserver()
10 : attach_calls_(0), detach_calls_(0) { 8 : attach_calls_(0), detach_calls_(0) {
11 } 9 }
12 10
13 MockRemovableStorageObserver::~MockRemovableStorageObserver() { 11 MockRemovableStorageObserver::~MockRemovableStorageObserver() {
14 } 12 }
15 13
16 void MockRemovableStorageObserver::OnRemovableStorageAttached( 14 void MockRemovableStorageObserver::OnRemovableStorageAttached(
17 const StorageInfo& info) { 15 const StorageInfo& info) {
18 attach_calls_++; 16 attach_calls_++;
19 last_attached_ = info; 17 last_attached_ = info;
20 } 18 }
21 19
22 void MockRemovableStorageObserver::OnRemovableStorageDetached( 20 void MockRemovableStorageObserver::OnRemovableStorageDetached(
23 const StorageInfo& info) { 21 const StorageInfo& info) {
24 detach_calls_++; 22 detach_calls_++;
25 last_detached_ = info; 23 last_detached_ = info;
26 } 24 }
27
28 } // namespace chrome
OLDNEW
« no previous file with comments | « chrome/browser/storage_monitor/mock_removable_storage_observer.h ('k') | chrome/browser/storage_monitor/mtab_watcher_linux.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698