summaryrefslogtreecommitdiffstats
path: root/components/component_updater/component_updater_service.cc
diff options
context:
space:
mode:
authorsorin <sorin@chromium.org>2014-09-22 21:07:44 -0700
committerCommit bot <commit-bot@chromium.org>2014-09-23 04:07:57 +0000
commit5cb1f549d544e2b1bd5ee43eca5bc8b6bdc3b67e (patch)
tree2b2163914c2685f1a8eed51339e60924f2fbed6c /components/component_updater/component_updater_service.cc
parentf0dff6945e8a5ec762b95b0f341fed629c1f63ff (diff)
downloadchromium_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/component_updater_service.cc')
-rw-r--r--components/component_updater/component_updater_service.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/components/component_updater/component_updater_service.cc b/components/component_updater/component_updater_service.cc
index aa69cdd..519b0f6 100644
--- a/components/component_updater/component_updater_service.cc
+++ b/components/component_updater/component_updater_service.cc
@@ -16,6 +16,7 @@
#include "base/files/file_path.h"
#include "base/files/file_util.h"
#include "base/logging.h"
+#include "base/macros.h"
#include "base/memory/scoped_ptr.h"
#include "base/message_loop/message_loop_proxy.h"
#include "base/observer_list.h"
@@ -120,7 +121,7 @@ class CrxUpdateService : public ComponentUpdateService, public OnDemandUpdater {
// Context for a crx download url request.
struct CRXContext {
ComponentInstaller* installer;
- std::vector<uint8> pk_hash;
+ std::vector<uint8_t> pk_hash;
std::string id;
std::string fingerprint;
CRXContext() : installer(NULL) {}
@@ -319,7 +320,7 @@ void CrxUpdateService::ScheduleNextRun(StepDelayInterval step_delay) {
// Keep the delay short if in the middle of an update (step_delay),
// or there are new requested_work_items_ that have not been processed yet.
- int64 delay_seconds = 0;
+ int64_t delay_seconds = 0;
if (!HasOnDemandItems()) {
switch (step_delay) {
case kStepDelayShort: