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

Side by Side Diff: components/storage_monitor/media_storage_util.cc

Issue 1178683009: Change histogram.h includes to histogram_macros.h in components/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 "components/storage_monitor/media_storage_util.h" 5 #include "components/storage_monitor/media_storage_util.h"
6 6
7 #include <vector> 7 #include <vector>
8 8
9 #include "base/callback.h" 9 #include "base/callback.h"
10 #include "base/files/file_util.h" 10 #include "base/files/file_util.h"
11 #include "base/logging.h" 11 #include "base/logging.h"
12 #include "base/metrics/histogram.h" 12 #include "base/metrics/histogram_macros.h"
13 #include "base/strings/string_util.h" 13 #include "base/strings/string_util.h"
14 #include "base/strings/utf_string_conversions.h" 14 #include "base/strings/utf_string_conversions.h"
15 #include "components/storage_monitor/removable_device_constants.h" 15 #include "components/storage_monitor/removable_device_constants.h"
16 #include "components/storage_monitor/storage_monitor.h" 16 #include "components/storage_monitor/storage_monitor.h"
17 #include "content/public/browser/browser_thread.h" 17 #include "content/public/browser/browser_thread.h"
18 18
19 using content::BrowserThread; 19 using content::BrowserThread;
20 20
21 namespace storage_monitor { 21 namespace storage_monitor {
22 22
(...skipping 218 matching lines...) Expand 10 before | Expand all | Expand 10 after
241 StorageMonitor::GetInstance()->GetAllAvailableStorages(); 241 StorageMonitor::GetInstance()->GetAllAvailableStorages();
242 for (StorageInfoList::const_iterator it = devices.begin(); 242 for (StorageInfoList::const_iterator it = devices.begin();
243 it != devices.end(); ++it) { 243 it != devices.end(); ++it) {
244 if (StorageInfo::IsRemovableDevice(id) && it->device_id() == id) 244 if (StorageInfo::IsRemovableDevice(id) && it->device_id() == id)
245 return true; 245 return true;
246 } 246 }
247 return false; 247 return false;
248 } 248 }
249 249
250 } // namespace storage_monitor 250 } // namespace storage_monitor
OLDNEW
« no previous file with comments | « components/signin/core/browser/signin_manager.cc ('k') | components/suggestions/blacklist_store.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698