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

Side by Side Diff: chrome/browser/media_galleries/scoped_mtp_device_map_entry.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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/media_galleries/scoped_mtp_device_map_entry.h" 5 #include "chrome/browser/media_galleries/scoped_mtp_device_map_entry.h"
6 6
7 namespace chrome {
8
9 ScopedMTPDeviceMapEntry::ScopedMTPDeviceMapEntry( 7 ScopedMTPDeviceMapEntry::ScopedMTPDeviceMapEntry(
10 const base::FilePath::StringType& device_location, 8 const base::FilePath::StringType& device_location,
11 const base::Closure& on_destruction_callback) 9 const base::Closure& on_destruction_callback)
12 : device_location_(device_location), 10 : device_location_(device_location),
13 on_destruction_callback_(on_destruction_callback) { 11 on_destruction_callback_(on_destruction_callback) {
14 } 12 }
15 13
16 ScopedMTPDeviceMapEntry::~ScopedMTPDeviceMapEntry() { 14 ScopedMTPDeviceMapEntry::~ScopedMTPDeviceMapEntry() {
17 on_destruction_callback_.Run(); 15 on_destruction_callback_.Run();
18 } 16 }
19
20 } // namespace chrome
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698