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

Side by Side Diff: extensions/browser/api/system_info/system_info_api.cc

Issue 1549643002: Switch to standard integer types in extensions/browser/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@clean
Patch Set: Created 4 years, 12 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 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 "extensions/browser/api/system_info/system_info_api.h" 5 #include "extensions/browser/api/system_info/system_info_api.h"
6 6
7 #include <stdint.h>
8
7 #include <set> 9 #include <set>
8 #include <utility> 10 #include <utility>
9 11
10 #include "base/bind.h" 12 #include "base/bind.h"
11 #include "base/lazy_instance.h" 13 #include "base/lazy_instance.h"
14 #include "base/macros.h"
12 #include "base/memory/scoped_ptr.h" 15 #include "base/memory/scoped_ptr.h"
13 #include "base/memory/singleton.h" 16 #include "base/memory/singleton.h"
14 #include "base/strings/string_util.h" 17 #include "base/strings/string_util.h"
15 #include "base/values.h" 18 #include "base/values.h"
16 #include "components/storage_monitor/removable_storage_observer.h" 19 #include "components/storage_monitor/removable_storage_observer.h"
17 #include "components/storage_monitor/storage_info.h" 20 #include "components/storage_monitor/storage_info.h"
18 #include "components/storage_monitor/storage_monitor.h" 21 #include "components/storage_monitor/storage_monitor.h"
19 #include "content/public/browser/browser_thread.h" 22 #include "content/public/browser/browser_thread.h"
20 #include "extensions/browser/api/system_display/display_info_provider.h" 23 #include "extensions/browser/api/system_display/display_info_provider.h"
21 #include "extensions/browser/api/system_storage/storage_info_provider.h" 24 #include "extensions/browser/api/system_storage/storage_info_provider.h"
(...skipping 233 matching lines...) Expand 10 before | Expand all | Expand 10 after
255 void SystemInfoAPI::OnListenerRemoved(const EventListenerInfo& details) { 258 void SystemInfoAPI::OnListenerRemoved(const EventListenerInfo& details) {
256 if (IsSystemStorageEvent(details.event_name)) { 259 if (IsSystemStorageEvent(details.event_name)) {
257 StorageMonitor::GetInstance()->EnsureInitialized( 260 StorageMonitor::GetInstance()->EnsureInitialized(
258 base::Bind(&RemoveEventListener, details.event_name)); 261 base::Bind(&RemoveEventListener, details.event_name));
259 } else { 262 } else {
260 RemoveEventListener(details.event_name); 263 RemoveEventListener(details.event_name);
261 } 264 }
262 } 265 }
263 266
264 } // namespace extensions 267 } // namespace extensions
OLDNEW
« no previous file with comments | « extensions/browser/api/system_info/system_info_api.h ('k') | extensions/browser/api/system_info/system_info_provider.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698