summaryrefslogtreecommitdiffstats
path: root/chrome/browser/background_sync
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/background_sync')
-rw-r--r--chrome/browser/background_sync/background_sync_controller_factory.h1
-rw-r--r--chrome/browser/background_sync/background_sync_controller_impl.h3
-rw-r--r--chrome/browser/background_sync/background_sync_controller_impl_unittest.cc5
3 files changed, 8 insertions, 1 deletions
diff --git a/chrome/browser/background_sync/background_sync_controller_factory.h b/chrome/browser/background_sync/background_sync_controller_factory.h
index b93dbe9..c2a10dd 100644
--- a/chrome/browser/background_sync/background_sync_controller_factory.h
+++ b/chrome/browser/background_sync/background_sync_controller_factory.h
@@ -5,6 +5,7 @@
#ifndef CHROME_BROWSER_BACKGROUND_SYNC_BACKGROUND_SYNC_CONTROLLER_FACTORY_H_
#define CHROME_BROWSER_BACKGROUND_SYNC_BACKGROUND_SYNC_CONTROLLER_FACTORY_H_
+#include "base/macros.h"
#include "base/memory/singleton.h"
#include "components/keyed_service/content/browser_context_keyed_service_factory.h"
diff --git a/chrome/browser/background_sync/background_sync_controller_impl.h b/chrome/browser/background_sync/background_sync_controller_impl.h
index 02cd41f..b8b6735 100644
--- a/chrome/browser/background_sync/background_sync_controller_impl.h
+++ b/chrome/browser/background_sync/background_sync_controller_impl.h
@@ -7,6 +7,9 @@
#include "content/public/browser/background_sync_controller.h"
+#include <stdint.h>
+
+#include "base/macros.h"
#include "components/keyed_service/core/keyed_service.h"
#include "content/public/browser/browser_thread.h"
diff --git a/chrome/browser/background_sync/background_sync_controller_impl_unittest.cc b/chrome/browser/background_sync/background_sync_controller_impl_unittest.cc
index 3467c73..a0fc6f6 100644
--- a/chrome/browser/background_sync/background_sync_controller_impl_unittest.cc
+++ b/chrome/browser/background_sync/background_sync_controller_impl_unittest.cc
@@ -4,6 +4,9 @@
#include "chrome/browser/background_sync/background_sync_controller_impl.h"
+#include <stdint.h>
+
+#include "base/macros.h"
#include "chrome/test/base/testing_profile.h"
#include "components/rappor/test_rappor_service.h"
#include "components/variations/variations_associated_data.h"
@@ -124,7 +127,7 @@ TEST_F(BackgroundSyncControllerImplTest, AllParamsSet) {
field_parameters
[BackgroundSyncControllerImpl::kRetryDelayFactorParameterName] = "300";
field_parameters[BackgroundSyncControllerImpl::kMinSyncRecoveryTimeName] =
- "8000000000000"; // something larger than int32.
+ "8000000000000"; // something larger than int32_t.
ASSERT_TRUE(variations::AssociateVariationParams(
BackgroundSyncControllerImpl::kFieldTrialName, kFieldTrialGroup,
field_parameters));