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

Side by Side Diff: chrome/browser/media_galleries/win/portable_device_map_service.h

Issue 16667014: Use a direct include of strings headers in chrome/browser/media_galleries/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 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
« no previous file with comments | « chrome/browser/media_galleries/win/mtp_device_operations_util.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #ifndef CHROME_BROWSER_MEDIA_GALLERIES_WIN_PORTABLE_DEVICE_MAP_SERVICE_H_ 5 #ifndef CHROME_BROWSER_MEDIA_GALLERIES_WIN_PORTABLE_DEVICE_MAP_SERVICE_H_
6 #define CHROME_BROWSER_MEDIA_GALLERIES_WIN_PORTABLE_DEVICE_MAP_SERVICE_H_ 6 #define CHROME_BROWSER_MEDIA_GALLERIES_WIN_PORTABLE_DEVICE_MAP_SERVICE_H_
7 7
8 #include <portabledeviceapi.h> 8 #include <portabledeviceapi.h>
9 #include <map> 9 #include <map>
10 10
11 #include "base/lazy_instance.h" 11 #include "base/lazy_instance.h"
12 #include "base/string16.h" 12 #include "base/strings/string16.h"
13 #include "base/synchronization/lock.h" 13 #include "base/synchronization/lock.h"
14 #include "base/win/scoped_comptr.h" 14 #include "base/win/scoped_comptr.h"
15 15
16 namespace chrome { 16 namespace chrome {
17 17
18 // PortableDeviceMapService keeps track of initialized portable device 18 // PortableDeviceMapService keeps track of initialized portable device
19 // interfaces. PortableDeviceMapService owns the portable device interfaces. 19 // interfaces. PortableDeviceMapService owns the portable device interfaces.
20 class PortableDeviceMapService { 20 class PortableDeviceMapService {
21 public: 21 public:
22 static PortableDeviceMapService* GetInstance(); 22 static PortableDeviceMapService* GetInstance();
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 // Mapping of |device_location| and IPortableDevice* object. 71 // Mapping of |device_location| and IPortableDevice* object.
72 PortableDeviceMap device_map_; 72 PortableDeviceMap device_map_;
73 base::Lock lock_; 73 base::Lock lock_;
74 74
75 DISALLOW_COPY_AND_ASSIGN(PortableDeviceMapService); 75 DISALLOW_COPY_AND_ASSIGN(PortableDeviceMapService);
76 }; 76 };
77 77
78 } // namespace chrome 78 } // namespace chrome
79 79
80 #endif // CHROME_BROWSER_MEDIA_GALLERIES_WIN_PORTABLE_DEVICE_MAP_SERVICE_H_ 80 #endif // CHROME_BROWSER_MEDIA_GALLERIES_WIN_PORTABLE_DEVICE_MAP_SERVICE_H_
OLDNEW
« no previous file with comments | « chrome/browser/media_galleries/win/mtp_device_operations_util.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698