diff options
author | sorin <sorin@chromium.org> | 2014-09-22 21:07:44 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2014-09-23 04:07:57 +0000 |
commit | 5cb1f549d544e2b1bd5ee43eca5bc8b6bdc3b67e (patch) | |
tree | 2b2163914c2685f1a8eed51339e60924f2fbed6c /components/component_updater/default_component_installer.h | |
parent | f0dff6945e8a5ec762b95b0f341fed629c1f63ff (diff) | |
download | chromium_src-5cb1f549d544e2b1bd5ee43eca5bc8b6bdc3b67e.zip chromium_src-5cb1f549d544e2b1bd5ee43eca5bc8b6bdc3b67e.tar.gz chromium_src-5cb1f549d544e2b1bd5ee43eca5bc8b6bdc3b67e.tar.bz2 |
Replace usage of basictypes.h with a combination of stdint.h and base/macros.h.
Fix some style issues regarding order of includes and forward declararions.
BUG=416623
Review URL: https://codereview.chromium.org/590333002
Cr-Commit-Position: refs/heads/master@{#296139}
Diffstat (limited to 'components/component_updater/default_component_installer.h')
-rw-r--r-- | components/component_updater/default_component_installer.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/components/component_updater/default_component_installer.h b/components/component_updater/default_component_installer.h index 6e1a734..83c2a5f 100644 --- a/components/component_updater/default_component_installer.h +++ b/components/component_updater/default_component_installer.h @@ -5,10 +5,12 @@ #ifndef COMPONENTS_COMPONENT_UPDATER_DEFAULT_COMPONENT_INSTALLER_H_ #define COMPONENTS_COMPONENT_UPDATER_DEFAULT_COMPONENT_INSTALLER_H_ +#include <stdint.h> #include <string> #include <vector> #include "base/compiler_specific.h" +#include "base/macros.h" #include "base/memory/ref_counted.h" #include "base/memory/scoped_ptr.h" #include "base/threading/thread_checker.h" @@ -69,7 +71,7 @@ class ComponentInstallerTraits { virtual base::FilePath GetBaseDirectory() const = 0; // Returns the component's SHA2 hash as raw bytes. - virtual void GetHash(std::vector<uint8>* hash) const = 0; + virtual void GetHash(std::vector<uint8_t>* hash) const = 0; // Returns the human-readable name of the component. virtual std::string GetName() const = 0; |