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

Side by Side Diff: extensions/browser/api/system_info/system_info_provider.h

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 #ifndef EXTENSIONS_BROWSER_API_SYSTEM_INFO_SYSTEM_INFO_PROVIDER_H_ 5 #ifndef EXTENSIONS_BROWSER_API_SYSTEM_INFO_SYSTEM_INFO_PROVIDER_H_
6 #define EXTENSIONS_BROWSER_API_SYSTEM_INFO_SYSTEM_INFO_PROVIDER_H_ 6 #define EXTENSIONS_BROWSER_API_SYSTEM_INFO_SYSTEM_INFO_PROVIDER_H_
7 7
8 #include <queue> 8 #include <queue>
9 9
10 #include "base/bind.h" 10 #include "base/bind.h"
11 #include "base/callback.h" 11 #include "base/callback.h"
12 #include "base/macros.h"
12 #include "base/memory/ref_counted.h" 13 #include "base/memory/ref_counted.h"
13 #include "base/threading/sequenced_worker_pool.h" 14 #include "base/threading/sequenced_worker_pool.h"
14 15
15 namespace extensions { 16 namespace extensions {
16 17
17 // An abstract base class for all kinds of system information providers. Each 18 // An abstract base class for all kinds of system information providers. Each
18 // kind of SystemInfoProvider is a single shared instance. It is created if 19 // kind of SystemInfoProvider is a single shared instance. It is created if
19 // needed, and destroyed at exit time. This is done via LazyInstance and 20 // needed, and destroyed at exit time. This is done via LazyInstance and
20 // scoped_refptr. 21 // scoped_refptr.
21 // 22 //
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 // Sequenced worker pool to make the operation of querying information get 90 // Sequenced worker pool to make the operation of querying information get
90 // executed in order. 91 // executed in order.
91 scoped_refptr<base::SequencedTaskRunner> worker_pool_; 92 scoped_refptr<base::SequencedTaskRunner> worker_pool_;
92 93
93 DISALLOW_COPY_AND_ASSIGN(SystemInfoProvider); 94 DISALLOW_COPY_AND_ASSIGN(SystemInfoProvider);
94 }; 95 };
95 96
96 } // namespace extensions 97 } // namespace extensions
97 98
98 #endif // EXTENSIONS_BROWSER_API_SYSTEM_INFO_SYSTEM_INFO_PROVIDER_H_ 99 #endif // EXTENSIONS_BROWSER_API_SYSTEM_INFO_SYSTEM_INFO_PROVIDER_H_
OLDNEW
« no previous file with comments | « extensions/browser/api/system_info/system_info_api.cc ('k') | extensions/browser/api/system_memory/memory_info_provider.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698