diff options
author | avi <avi@chromium.org> | 2015-12-25 11:37:59 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-12-25 19:38:56 +0000 |
commit | 4310d52d18968a109890fe9841af01863007d72d (patch) | |
tree | 0bc9005ad2cac0d18c8b8a90fbed319ce5a5348f /components/autofill/content/renderer | |
parent | 353749a23e10d0a4ff4d4529b9859e31c891c788 (diff) | |
download | chromium_src-4310d52d18968a109890fe9841af01863007d72d.zip chromium_src-4310d52d18968a109890fe9841af01863007d72d.tar.gz chromium_src-4310d52d18968a109890fe9841af01863007d72d.tar.bz2 |
Switch to standard integer types in components/autofill/.
BUG=138542
TBR=estade@chromium.org
Review URL: https://codereview.chromium.org/1550003002
Cr-Commit-Position: refs/heads/master@{#366865}
Diffstat (limited to 'components/autofill/content/renderer')
15 files changed, 31 insertions, 3 deletions
diff --git a/components/autofill/content/renderer/autofill_agent.cc b/components/autofill/content/renderer/autofill_agent.cc index 784499d..d32ea57 100644 --- a/components/autofill/content/renderer/autofill_agent.cc +++ b/components/autofill/content/renderer/autofill_agent.cc @@ -4,6 +4,8 @@ #include "components/autofill/content/renderer/autofill_agent.h" +#include <stddef.h> + #include <tuple> #include "base/auto_reset.h" @@ -17,6 +19,7 @@ #include "base/strings/utf_string_conversions.h" #include "base/thread_task_runner_handle.h" #include "base/time/time.h" +#include "build/build_config.h" #include "components/autofill/content/common/autofill_messages.h" #include "components/autofill/content/renderer/form_autofill_util.h" #include "components/autofill/content/renderer/page_click_tracker.h" diff --git a/components/autofill/content/renderer/autofill_agent.h b/components/autofill/content/renderer/autofill_agent.h index 2471403..1257791 100644 --- a/components/autofill/content/renderer/autofill_agent.h +++ b/components/autofill/content/renderer/autofill_agent.h @@ -8,8 +8,8 @@ #include <set> #include <vector> -#include "base/basictypes.h" #include "base/compiler_specific.h" +#include "base/macros.h" #include "base/memory/weak_ptr.h" #include "base/time/time.h" #include "components/autofill/content/renderer/form_cache.h" diff --git a/components/autofill/content/renderer/form_autofill_util.cc b/components/autofill/content/renderer/form_autofill_util.cc index 5c7f0d6..ef079c6 100644 --- a/components/autofill/content/renderer/form_autofill_util.cc +++ b/components/autofill/content/renderer/form_autofill_util.cc @@ -13,6 +13,7 @@ #include "base/strings/string_number_conversions.h" #include "base/strings/string_util.h" #include "base/strings/utf_string_conversions.h" +#include "build/build_config.h" #include "components/autofill/core/common/autofill_data_validation.h" #include "components/autofill/core/common/autofill_regexes.h" #include "components/autofill/core/common/autofill_switches.h" diff --git a/components/autofill/content/renderer/form_autofill_util.h b/components/autofill/content/renderer/form_autofill_util.h index 4b47040..d7cb557 100644 --- a/components/autofill/content/renderer/form_autofill_util.h +++ b/components/autofill/content/renderer/form_autofill_util.h @@ -5,6 +5,8 @@ #ifndef COMPONENTS_AUTOFILL_CONTENT_RENDERER_FORM_AUTOFILL_UTIL_H_ #define COMPONENTS_AUTOFILL_CONTENT_RENDERER_FORM_AUTOFILL_UTIL_H_ +#include <stddef.h> + #include <vector> #include "base/strings/string16.h" diff --git a/components/autofill/content/renderer/form_cache.cc b/components/autofill/content/renderer/form_cache.cc index 639bb3f..334afa9 100644 --- a/components/autofill/content/renderer/form_cache.cc +++ b/components/autofill/content/renderer/form_cache.cc @@ -5,6 +5,7 @@ #include "components/autofill/content/renderer/form_cache.h" #include "base/logging.h" +#include "base/macros.h" #include "base/stl_util.h" #include "base/strings/utf_string_conversions.h" #include "components/autofill/content/renderer/form_autofill_util.h" diff --git a/components/autofill/content/renderer/form_cache.h b/components/autofill/content/renderer/form_cache.h index 15c5680..78bef2e 100644 --- a/components/autofill/content/renderer/form_cache.h +++ b/components/autofill/content/renderer/form_cache.h @@ -5,10 +5,13 @@ #ifndef COMPONENTS_AUTOFILL_CONTENT_RENDERER_FORM_CACHE_H_ #define COMPONENTS_AUTOFILL_CONTENT_RENDERER_FORM_CACHE_H_ +#include <stddef.h> + #include <map> #include <set> #include <vector> +#include "base/macros.h" #include "base/strings/string16.h" #include "components/autofill/core/common/form_data.h" diff --git a/components/autofill/content/renderer/page_click_tracker.h b/components/autofill/content/renderer/page_click_tracker.h index eed10f9..16e22bd 100644 --- a/components/autofill/content/renderer/page_click_tracker.h +++ b/components/autofill/content/renderer/page_click_tracker.h @@ -7,7 +7,7 @@ #include <vector> -#include "base/basictypes.h" +#include "base/macros.h" #include "base/memory/weak_ptr.h" #include "content/public/renderer/render_frame_observer.h" #include "content/public/renderer/render_view_observer.h" diff --git a/components/autofill/content/renderer/password_autofill_agent.cc b/components/autofill/content/renderer/password_autofill_agent.cc index de716bc..5297c0a 100644 --- a/components/autofill/content/renderer/password_autofill_agent.cc +++ b/components/autofill/content/renderer/password_autofill_agent.cc @@ -4,6 +4,8 @@ #include "components/autofill/content/renderer/password_autofill_agent.h" +#include <stddef.h> + #include "base/bind.h" #include "base/command_line.h" #include "base/i18n/case_conversion.h" @@ -12,6 +14,7 @@ #include "base/metrics/field_trial.h" #include "base/metrics/histogram_macros.h" #include "base/strings/utf_string_conversions.h" +#include "build/build_config.h" #include "components/autofill/content/common/autofill_messages.h" #include "components/autofill/content/renderer/form_autofill_util.h" #include "components/autofill/content/renderer/password_form_conversion_utils.h" diff --git a/components/autofill/content/renderer/password_autofill_agent.h b/components/autofill/content/renderer/password_autofill_agent.h index 6db7c2d..864a075 100644 --- a/components/autofill/content/renderer/password_autofill_agent.h +++ b/components/autofill/content/renderer/password_autofill_agent.h @@ -8,6 +8,7 @@ #include <map> #include <vector> +#include "base/macros.h" #include "base/memory/scoped_ptr.h" #include "base/memory/weak_ptr.h" #include "components/autofill/content/renderer/password_form_conversion_utils.h" diff --git a/components/autofill/content/renderer/password_form_conversion_utils.cc b/components/autofill/content/renderer/password_form_conversion_utils.cc index 161e746..4366f75 100644 --- a/components/autofill/content/renderer/password_form_conversion_utils.cc +++ b/components/autofill/content/renderer/password_form_conversion_utils.cc @@ -4,10 +4,13 @@ #include "components/autofill/content/renderer/password_form_conversion_utils.h" +#include <stddef.h> + #include <string> #include "base/i18n/case_conversion.h" #include "base/lazy_instance.h" +#include "base/macros.h" #include "base/memory/scoped_ptr.h" #include "base/metrics/histogram_macros.h" #include "base/strings/string_util.h" diff --git a/components/autofill/content/renderer/password_form_conversion_utils_browsertest.cc b/components/autofill/content/renderer/password_form_conversion_utils_browsertest.cc index ba9d8d2..7dfb38d 100644 --- a/components/autofill/content/renderer/password_form_conversion_utils_browsertest.cc +++ b/components/autofill/content/renderer/password_form_conversion_utils_browsertest.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 "base/macros.h" #include "base/strings/string16.h" #include "base/strings/string_util.h" #include "base/strings/stringprintf.h" #include "base/strings/utf_string_conversions.h" +#include "build/build_config.h" #include "components/autofill/content/renderer/form_autofill_util.h" #include "components/autofill/content/renderer/password_form_conversion_utils.h" #include "components/autofill/core/browser/form_structure.h" diff --git a/components/autofill/content/renderer/password_generation_agent.h b/components/autofill/content/renderer/password_generation_agent.h index 959914f..90d480b 100644 --- a/components/autofill/content/renderer/password_generation_agent.h +++ b/components/autofill/content/renderer/password_generation_agent.h @@ -5,10 +5,13 @@ #ifndef COMPONENTS_AUTOFILL_CONTENT_RENDERER_PASSWORD_GENERATION_AGENT_H_ #define COMPONENTS_AUTOFILL_CONTENT_RENDERER_PASSWORD_GENERATION_AGENT_H_ +#include <stddef.h> + #include <map> #include <utility> #include <vector> +#include "base/macros.h" #include "base/memory/linked_ptr.h" #include "base/memory/scoped_ptr.h" #include "content/public/renderer/render_frame_observer.h" diff --git a/components/autofill/content/renderer/renderer_save_password_progress_logger.h b/components/autofill/content/renderer/renderer_save_password_progress_logger.h index a636371..dd111b1 100644 --- a/components/autofill/content/renderer/renderer_save_password_progress_logger.h +++ b/components/autofill/content/renderer/renderer_save_password_progress_logger.h @@ -7,6 +7,7 @@ #include <string> +#include "base/macros.h" #include "components/autofill/core/common/save_password_progress_logger.h" class PasswordManagerClient; diff --git a/components/autofill/content/renderer/renderer_save_password_progress_logger_unittest.cc b/components/autofill/content/renderer/renderer_save_password_progress_logger_unittest.cc index e9fd7fd..22cd852 100644 --- a/components/autofill/content/renderer/renderer_save_password_progress_logger_unittest.cc +++ b/components/autofill/content/renderer/renderer_save_password_progress_logger_unittest.cc @@ -4,6 +4,8 @@ #include "components/autofill/content/renderer/renderer_save_password_progress_logger.h" +#include <stdint.h> + #include "components/autofill/content/common/autofill_messages.h" #include "ipc/ipc_test_sink.h" #include "testing/gtest/include/gtest/gtest.h" @@ -26,7 +28,7 @@ class TestLogger : public RendererSavePasswordProgressLogger { // fills the output parameter with the value of the message's parameter, and // clears the queue of sent messages. bool GetLogMessage(std::string* log) { - const uint32 kMsgID = AutofillHostMsg_RecordSavePasswordProgress::ID; + const uint32_t kMsgID = AutofillHostMsg_RecordSavePasswordProgress::ID; const IPC::Message* message = sink_.GetFirstMessageMatching(kMsgID); if (!message) return false; diff --git a/components/autofill/content/renderer/test_password_generation_agent.h b/components/autofill/content/renderer/test_password_generation_agent.h index f131a8f..1901dbc2 100644 --- a/components/autofill/content/renderer/test_password_generation_agent.h +++ b/components/autofill/content/renderer/test_password_generation_agent.h @@ -7,6 +7,7 @@ #include <vector> +#include "base/macros.h" #include "base/memory/scoped_vector.h" #include "components/autofill/content/renderer/password_generation_agent.h" #include "ipc/ipc_message.h" |