summaryrefslogtreecommitdiffstats
path: root/chrome/browser/download/download_target_determiner_unittest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/download/download_target_determiner_unittest.cc')
-rw-r--r--chrome/browser/download/download_target_determiner_unittest.cc9
1 files changed, 7 insertions, 2 deletions
diff --git a/chrome/browser/download/download_target_determiner_unittest.cc b/chrome/browser/download/download_target_determiner_unittest.cc
index 93268f3..cd3f8aa 100644
--- a/chrome/browser/download/download_target_determiner_unittest.cc
+++ b/chrome/browser/download/download_target_determiner_unittest.cc
@@ -2,10 +2,14 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
+#include <stddef.h>
+#include <stdint.h>
+
#include "base/at_exit.h"
#include "base/files/file_path.h"
#include "base/files/scoped_temp_dir.h"
#include "base/location.h"
+#include "base/macros.h"
#include "base/observer_list.h"
#include "base/prefs/pref_service.h"
#include "base/run_loop.h"
@@ -14,6 +18,7 @@
#include "base/strings/string_util.h"
#include "base/thread_task_runner_handle.h"
#include "base/value_conversions.h"
+#include "build/build_config.h"
#include "chrome/browser/download/chrome_download_manager_delegate.h"
#include "chrome/browser/download/download_extensions.h"
#include "chrome/browser/download/download_prefs.h"
@@ -202,7 +207,7 @@ class DownloadTargetDeterminerTest : public ChromeRenderViewHostTestHarness {
// Creates MockDownloadItem and sets up default expectations.
content::MockDownloadItem* CreateActiveDownloadItem(
- int32 id,
+ int32_t id,
const DownloadTestCase& test_case);
// Sets the AutoOpenBasedOnExtension user preference for |path|.
@@ -283,7 +288,7 @@ void DownloadTargetDeterminerTest::TearDown() {
content::MockDownloadItem*
DownloadTargetDeterminerTest::CreateActiveDownloadItem(
- int32 id,
+ int32_t id,
const DownloadTestCase& test_case) {
content::MockDownloadItem* item =
new ::testing::NiceMock<content::MockDownloadItem>();