summaryrefslogtreecommitdiffstats
path: root/chrome/browser/translate
diff options
context:
space:
mode:
authoravi <avi@chromium.org>2015-12-25 18:18:31 -0800
committerCommit bot <commit-bot@chromium.org>2015-12-26 02:19:43 +0000
commit664c07b4a56436648cc9339c18d3bd27ae220964 (patch)
treefc307cecfc6ec1b9d18a154f8d218c1c473e9ef6 /chrome/browser/translate
parentb896c715dd14ec1f7ac800350b40eeb6de2ba868 (diff)
downloadchromium_src-664c07b4a56436648cc9339c18d3bd27ae220964.zip
chromium_src-664c07b4a56436648cc9339c18d3bd27ae220964.tar.gz
chromium_src-664c07b4a56436648cc9339c18d3bd27ae220964.tar.bz2
Switch to standard integer types in chrome/browser/, part 4 of 4.
BUG=138542 TBR=thakis@chromium.org NOPRESUBMIT=true Review URL: https://codereview.chromium.org/1545223002 Cr-Commit-Position: refs/heads/master@{#366884}
Diffstat (limited to 'chrome/browser/translate')
-rw-r--r--chrome/browser/translate/chrome_translate_client.cc1
-rw-r--r--chrome/browser/translate/chrome_translate_client.h1
-rw-r--r--chrome/browser/translate/cld_data_harness.cc1
-rw-r--r--chrome/browser/translate/translate_accept_languages_factory.cc1
-rw-r--r--chrome/browser/translate/translate_accept_languages_factory.h2
-rw-r--r--chrome/browser/translate/translate_browsertest.cc3
-rw-r--r--chrome/browser/translate/translate_manager_browsertest.cc1
-rw-r--r--chrome/browser/translate/translate_manager_render_view_host_unittest.cc3
-rw-r--r--chrome/browser/translate/translate_service.cc1
-rw-r--r--chrome/browser/translate/translate_service_unittest.cc1
10 files changed, 14 insertions, 1 deletions
diff --git a/chrome/browser/translate/chrome_translate_client.cc b/chrome/browser/translate/chrome_translate_client.cc
index 4d4366b..196ff58 100644
--- a/chrome/browser/translate/chrome_translate_client.cc
+++ b/chrome/browser/translate/chrome_translate_client.cc
@@ -10,6 +10,7 @@
#include "base/path_service.h"
#include "base/prefs/pref_service.h"
#include "base/strings/string_split.h"
+#include "build/build_config.h"
#include "chrome/browser/chrome_notification_types.h"
#include "chrome/browser/infobars/infobar_service.h"
#include "chrome/browser/profiles/profile.h"
diff --git a/chrome/browser/translate/chrome_translate_client.h b/chrome/browser/translate/chrome_translate_client.h
index e658849..ee7ad97 100644
--- a/chrome/browser/translate/chrome_translate_client.h
+++ b/chrome/browser/translate/chrome_translate_client.h
@@ -7,6 +7,7 @@
#include <string>
+#include "base/macros.h"
#include "base/memory/scoped_ptr.h"
#include "chrome/browser/ui/translate/translate_bubble_model.h"
#include "components/translate/content/browser/browser_cld_data_provider.h"
diff --git a/chrome/browser/translate/cld_data_harness.cc b/chrome/browser/translate/cld_data_harness.cc
index 1a3a7f3..35ab020 100644
--- a/chrome/browser/translate/cld_data_harness.cc
+++ b/chrome/browser/translate/cld_data_harness.cc
@@ -5,6 +5,7 @@
#include "chrome/browser/translate/cld_data_harness.h"
#include "base/lazy_instance.h"
+#include "base/macros.h"
#include "base/path_service.h"
#include "chrome/browser/translate/component_cld_data_harness.h"
#include "chrome/browser/translate/standalone_cld_data_harness.h"
diff --git a/chrome/browser/translate/translate_accept_languages_factory.cc b/chrome/browser/translate/translate_accept_languages_factory.cc
index eba6735..fb241d6 100644
--- a/chrome/browser/translate/translate_accept_languages_factory.cc
+++ b/chrome/browser/translate/translate_accept_languages_factory.cc
@@ -4,6 +4,7 @@
#include "chrome/browser/translate/translate_accept_languages_factory.h"
+#include "base/macros.h"
#include "base/prefs/pref_service.h"
#include "chrome/browser/profiles/incognito_helpers.h"
#include "chrome/browser/profiles/profile.h"
diff --git a/chrome/browser/translate/translate_accept_languages_factory.h b/chrome/browser/translate/translate_accept_languages_factory.h
index 7215da3..65adcf1 100644
--- a/chrome/browser/translate/translate_accept_languages_factory.h
+++ b/chrome/browser/translate/translate_accept_languages_factory.h
@@ -5,7 +5,7 @@
#ifndef CHROME_BROWSER_TRANSLATE_TRANSLATE_ACCEPT_LANGUAGES_FACTORY_H_
#define CHROME_BROWSER_TRANSLATE_TRANSLATE_ACCEPT_LANGUAGES_FACTORY_H_
-#include "base/basictypes.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/translate/translate_browsertest.cc b/chrome/browser/translate/translate_browsertest.cc
index 6c4bbbd3..2afe85a 100644
--- a/chrome/browser/translate/translate_browsertest.cc
+++ b/chrome/browser/translate/translate_browsertest.cc
@@ -6,8 +6,11 @@
// from Aura. The file should be ported to use the bubble.
#if !defined(USE_AURA)
+#include <stddef.h>
+
#include "base/command_line.h"
#include "base/files/file_path.h"
+#include "base/macros.h"
#include "base/path_service.h"
#include "base/strings/string_util.h"
#include "base/strings/utf_string_conversions.h"
diff --git a/chrome/browser/translate/translate_manager_browsertest.cc b/chrome/browser/translate/translate_manager_browsertest.cc
index 4a7a6d9..1a1202b 100644
--- a/chrome/browser/translate/translate_manager_browsertest.cc
+++ b/chrome/browser/translate/translate_manager_browsertest.cc
@@ -5,6 +5,7 @@
#include "components/translate/core/browser/translate_manager.h"
#include "base/memory/scoped_ptr.h"
+#include "build/build_config.h"
#include "chrome/browser/chrome_notification_types.h"
#include "chrome/browser/prefs/session_startup_pref.h"
#include "chrome/browser/translate/chrome_translate_client.h"
diff --git a/chrome/browser/translate/translate_manager_render_view_host_unittest.cc b/chrome/browser/translate/translate_manager_render_view_host_unittest.cc
index c062826..264fc65 100644
--- a/chrome/browser/translate/translate_manager_render_view_host_unittest.cc
+++ b/chrome/browser/translate/translate_manager_render_view_host_unittest.cc
@@ -2,6 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
+#include <stddef.h>
+
#include <algorithm>
#include <set>
#include <vector>
@@ -11,6 +13,7 @@
#include "base/prefs/pref_change_registrar.h"
#include "base/prefs/pref_service.h"
#include "base/strings/stringprintf.h"
+#include "build/build_config.h"
#include "chrome/app/chrome_command_ids.h"
#include "chrome/browser/chrome_notification_types.h"
#include "chrome/browser/extensions/test_extension_system.h"
diff --git a/chrome/browser/translate/translate_service.cc b/chrome/browser/translate/translate_service.cc
index 93331a6..0ba535b 100644
--- a/chrome/browser/translate/translate_service.cc
+++ b/chrome/browser/translate/translate_service.cc
@@ -10,6 +10,7 @@
#include "base/prefs/pref_service.h"
#include "base/strings/string_split.h"
#include "base/strings/string_util.h"
+#include "build/build_config.h"
#include "chrome/browser/browser_process.h"
#include "chrome/browser/translate/chrome_translate_client.h"
#include "chrome/common/chrome_switches.h"
diff --git a/chrome/browser/translate/translate_service_unittest.cc b/chrome/browser/translate/translate_service_unittest.cc
index fa9574c..455a7d7 100644
--- a/chrome/browser/translate/translate_service_unittest.cc
+++ b/chrome/browser/translate/translate_service_unittest.cc
@@ -4,6 +4,7 @@
#include "chrome/browser/translate/translate_service.h"
+#include "build/build_config.h"
#include "content/public/common/url_constants.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "url/gurl.h"