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

Side by Side Diff: chrome/browser/media_galleries/win/portable_device_map_service.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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 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/media_galleries/win/portable_device_map_service.h" 5 #include "chrome/browser/media_galleries/win/portable_device_map_service.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "base/stl_util.h" 8 #include "base/stl_util.h"
9 #include "base/threading/thread_restrictions.h" 9 #include "base/threading/thread_restrictions.h"
10 #include "content/public/browser/browser_thread.h" 10 #include "content/public/browser/browser_thread.h"
11 11
12 namespace chrome {
13
14 namespace { 12 namespace {
15 13
16 base::LazyInstance<PortableDeviceMapService> g_portable_device_map_service = 14 base::LazyInstance<PortableDeviceMapService> g_portable_device_map_service =
17 LAZY_INSTANCE_INITIALIZER; 15 LAZY_INSTANCE_INITIALIZER;
18 16
19 } // namespace 17 } // namespace
20 18
21 // static 19 // static
22 PortableDeviceMapService* PortableDeviceMapService::GetInstance() { 20 PortableDeviceMapService* PortableDeviceMapService::GetInstance() {
23 return g_portable_device_map_service.Pointer(); 21 return g_portable_device_map_service.Pointer();
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 IPortableDevice* device) 69 IPortableDevice* device)
72 : portable_device(device), 70 : portable_device(device),
73 scheduled_to_delete(false) { 71 scheduled_to_delete(false) {
74 } 72 }
75 73
76 PortableDeviceMapService::PortableDeviceMapService() { 74 PortableDeviceMapService::PortableDeviceMapService() {
77 } 75 }
78 76
79 PortableDeviceMapService::~PortableDeviceMapService() { 77 PortableDeviceMapService::~PortableDeviceMapService() {
80 } 78 }
81
82 } // namespace chrome
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698