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

Side by Side Diff: extensions/browser/updater/update_client_config.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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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_UPDATER_UPDATE_CLIENT_CONFIG_H_ 5 #ifndef EXTENSIONS_BROWSER_UPDATER_UPDATE_CLIENT_CONFIG_H_
6 #define EXTENSIONS_BROWSER_UPDATER_UPDATE_CLIENT_CONFIG_H_ 6 #define EXTENSIONS_BROWSER_UPDATER_UPDATE_CLIENT_CONFIG_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/macros.h"
10 #include "base/memory/ref_counted.h" 11 #include "base/memory/ref_counted.h"
11 #include "components/update_client/configurator.h" 12 #include "components/update_client/configurator.h"
12 13
13 namespace base { 14 namespace base {
14 class SequencedTaskRunner; 15 class SequencedTaskRunner;
15 } 16 }
16 17
17 namespace extensions { 18 namespace extensions {
18 19
19 // Used to provide configuration settings to the UpdateClient. 20 // Used to provide configuration settings to the UpdateClient.
20 class UpdateClientConfig : public update_client::Configurator { 21 class UpdateClientConfig : public update_client::Configurator {
21 public: 22 public:
22 UpdateClientConfig(); 23 UpdateClientConfig();
23 24
24 scoped_refptr<base::SequencedTaskRunner> GetSequencedTaskRunner() 25 scoped_refptr<base::SequencedTaskRunner> GetSequencedTaskRunner()
25 const override; 26 const override;
26 27
27 protected: 28 protected:
28 friend class base::RefCountedThreadSafe<UpdateClientConfig>; 29 friend class base::RefCountedThreadSafe<UpdateClientConfig>;
29 ~UpdateClientConfig() override; 30 ~UpdateClientConfig() override;
30 31
31 private: 32 private:
32 DISALLOW_COPY_AND_ASSIGN(UpdateClientConfig); 33 DISALLOW_COPY_AND_ASSIGN(UpdateClientConfig);
33 }; 34 };
34 35
35 } // namespace extensions 36 } // namespace extensions
36 37
37 #endif // EXTENSIONS_BROWSER_UPDATER_UPDATE_CLIENT_CONFIG_H_ 38 #endif // EXTENSIONS_BROWSER_UPDATER_UPDATE_CLIENT_CONFIG_H_
OLDNEW
« no previous file with comments | « extensions/browser/updater/safe_manifest_parser.h ('k') | extensions/browser/updater/update_install_shim.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698