summaryrefslogtreecommitdiffstats
path: root/chrome/browser/task_management/providers/web_contents
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/task_management/providers/web_contents
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/task_management/providers/web_contents')
-rw-r--r--chrome/browser/task_management/providers/web_contents/background_contents_tag.h1
-rw-r--r--chrome/browser/task_management/providers/web_contents/background_contents_tag_browsertest.cc1
-rw-r--r--chrome/browser/task_management/providers/web_contents/background_contents_task.h1
-rw-r--r--chrome/browser/task_management/providers/web_contents/devtools_tag.h1
-rw-r--r--chrome/browser/task_management/providers/web_contents/devtools_tag_browsertest.cc1
-rw-r--r--chrome/browser/task_management/providers/web_contents/devtools_task.h1
-rw-r--r--chrome/browser/task_management/providers/web_contents/extension_tag.h1
-rw-r--r--chrome/browser/task_management/providers/web_contents/extension_tag_browsertest.cc2
-rw-r--r--chrome/browser/task_management/providers/web_contents/extension_task.h1
-rw-r--r--chrome/browser/task_management/providers/web_contents/guest_tag.h1
-rw-r--r--chrome/browser/task_management/providers/web_contents/guest_task.h1
-rw-r--r--chrome/browser/task_management/providers/web_contents/panel_tag.h1
-rw-r--r--chrome/browser/task_management/providers/web_contents/panel_task.h1
-rw-r--r--chrome/browser/task_management/providers/web_contents/prerender_tag.h1
-rw-r--r--chrome/browser/task_management/providers/web_contents/prerender_task.h1
-rw-r--r--chrome/browser/task_management/providers/web_contents/printing_tag.h1
-rw-r--r--chrome/browser/task_management/providers/web_contents/printing_task.h1
-rw-r--r--chrome/browser/task_management/providers/web_contents/renderer_task.cc12
-rw-r--r--chrome/browser/task_management/providers/web_contents/renderer_task.h13
-rw-r--r--chrome/browser/task_management/providers/web_contents/subframe_task.h1
-rw-r--r--chrome/browser/task_management/providers/web_contents/subframe_task_browsertest.cc1
-rw-r--r--chrome/browser/task_management/providers/web_contents/tab_contents_tag.h1
-rw-r--r--chrome/browser/task_management/providers/web_contents/tab_contents_tag_browsertest.cc3
-rw-r--r--chrome/browser/task_management/providers/web_contents/tab_contents_task.h1
-rw-r--r--chrome/browser/task_management/providers/web_contents/web_contents_tag.h1
-rw-r--r--chrome/browser/task_management/providers/web_contents/web_contents_tags_manager.h1
-rw-r--r--chrome/browser/task_management/providers/web_contents/web_contents_task_provider.cc1
-rw-r--r--chrome/browser/task_management/providers/web_contents/web_contents_task_provider.h1
28 files changed, 43 insertions, 11 deletions
diff --git a/chrome/browser/task_management/providers/web_contents/background_contents_tag.h b/chrome/browser/task_management/providers/web_contents/background_contents_tag.h
index 01720b5..60b0437 100644
--- a/chrome/browser/task_management/providers/web_contents/background_contents_tag.h
+++ b/chrome/browser/task_management/providers/web_contents/background_contents_tag.h
@@ -5,6 +5,7 @@
#ifndef CHROME_BROWSER_TASK_MANAGEMENT_PROVIDERS_WEB_CONTENTS_BACKGROUND_CONTENTS_TAG_H_
#define CHROME_BROWSER_TASK_MANAGEMENT_PROVIDERS_WEB_CONTENTS_BACKGROUND_CONTENTS_TAG_H_
+#include "base/macros.h"
#include "chrome/browser/task_management/providers/web_contents/background_contents_task.h"
#include "chrome/browser/task_management/providers/web_contents/web_contents_tag.h"
diff --git a/chrome/browser/task_management/providers/web_contents/background_contents_tag_browsertest.cc b/chrome/browser/task_management/providers/web_contents/background_contents_tag_browsertest.cc
index 95564c0..ee59a53 100644
--- a/chrome/browser/task_management/providers/web_contents/background_contents_tag_browsertest.cc
+++ b/chrome/browser/task_management/providers/web_contents/background_contents_tag_browsertest.cc
@@ -2,6 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
+#include "base/macros.h"
#include "base/strings/utf_string_conversions.h"
#include "chrome/browser/extensions/extension_browsertest.h"
#include "chrome/browser/task_management/providers/web_contents/web_contents_tags_manager.h"
diff --git a/chrome/browser/task_management/providers/web_contents/background_contents_task.h b/chrome/browser/task_management/providers/web_contents/background_contents_task.h
index af76deb..0607604 100644
--- a/chrome/browser/task_management/providers/web_contents/background_contents_task.h
+++ b/chrome/browser/task_management/providers/web_contents/background_contents_task.h
@@ -5,6 +5,7 @@
#ifndef CHROME_BROWSER_TASK_MANAGEMENT_PROVIDERS_WEB_CONTENTS_BACKGROUND_CONTENTS_TASK_H_
#define CHROME_BROWSER_TASK_MANAGEMENT_PROVIDERS_WEB_CONTENTS_BACKGROUND_CONTENTS_TASK_H_
+#include "base/macros.h"
#include "chrome/browser/background/background_contents.h"
#include "chrome/browser/task_management/providers/web_contents/renderer_task.h"
diff --git a/chrome/browser/task_management/providers/web_contents/devtools_tag.h b/chrome/browser/task_management/providers/web_contents/devtools_tag.h
index a33e057..f6c4cae 100644
--- a/chrome/browser/task_management/providers/web_contents/devtools_tag.h
+++ b/chrome/browser/task_management/providers/web_contents/devtools_tag.h
@@ -5,6 +5,7 @@
#ifndef CHROME_BROWSER_TASK_MANAGEMENT_PROVIDERS_WEB_CONTENTS_DEVTOOLS_TAG_H_
#define CHROME_BROWSER_TASK_MANAGEMENT_PROVIDERS_WEB_CONTENTS_DEVTOOLS_TAG_H_
+#include "base/macros.h"
#include "chrome/browser/task_management/providers/web_contents/devtools_task.h"
#include "chrome/browser/task_management/providers/web_contents/web_contents_tag.h"
diff --git a/chrome/browser/task_management/providers/web_contents/devtools_tag_browsertest.cc b/chrome/browser/task_management/providers/web_contents/devtools_tag_browsertest.cc
index 0a26496..c1b0458 100644
--- a/chrome/browser/task_management/providers/web_contents/devtools_tag_browsertest.cc
+++ b/chrome/browser/task_management/providers/web_contents/devtools_tag_browsertest.cc
@@ -2,6 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
+#include "base/macros.h"
#include "chrome/browser/devtools/devtools_window_testing.h"
#include "chrome/browser/task_management/providers/web_contents/web_contents_tags_manager.h"
#include "chrome/browser/task_management/task_management_browsertest_util.h"
diff --git a/chrome/browser/task_management/providers/web_contents/devtools_task.h b/chrome/browser/task_management/providers/web_contents/devtools_task.h
index 4fc27f5..08cd582 100644
--- a/chrome/browser/task_management/providers/web_contents/devtools_task.h
+++ b/chrome/browser/task_management/providers/web_contents/devtools_task.h
@@ -5,6 +5,7 @@
#ifndef CHROME_BROWSER_TASK_MANAGEMENT_PROVIDERS_WEB_CONTENTS_DEVTOOLS_TASK_H_
#define CHROME_BROWSER_TASK_MANAGEMENT_PROVIDERS_WEB_CONTENTS_DEVTOOLS_TASK_H_
+#include "base/macros.h"
#include "chrome/browser/task_management/providers/web_contents/renderer_task.h"
namespace task_management {
diff --git a/chrome/browser/task_management/providers/web_contents/extension_tag.h b/chrome/browser/task_management/providers/web_contents/extension_tag.h
index 6936812..0b521e9 100644
--- a/chrome/browser/task_management/providers/web_contents/extension_tag.h
+++ b/chrome/browser/task_management/providers/web_contents/extension_tag.h
@@ -5,6 +5,7 @@
#ifndef CHROME_BROWSER_TASK_MANAGEMENT_PROVIDERS_WEB_CONTENTS_EXTENSION_TAG_H_
#define CHROME_BROWSER_TASK_MANAGEMENT_PROVIDERS_WEB_CONTENTS_EXTENSION_TAG_H_
+#include "base/macros.h"
#include "chrome/browser/task_management/providers/web_contents/extension_task.h"
#include "chrome/browser/task_management/providers/web_contents/web_contents_tag.h"
diff --git a/chrome/browser/task_management/providers/web_contents/extension_tag_browsertest.cc b/chrome/browser/task_management/providers/web_contents/extension_tag_browsertest.cc
index dfcfdcf..b79325d 100644
--- a/chrome/browser/task_management/providers/web_contents/extension_tag_browsertest.cc
+++ b/chrome/browser/task_management/providers/web_contents/extension_tag_browsertest.cc
@@ -2,7 +2,9 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
+#include "base/macros.h"
#include "base/strings/utf_string_conversions.h"
+#include "build/build_config.h"
#include "chrome/browser/extensions/extension_browsertest.h"
#include "chrome/browser/task_management/task_management_browsertest_util.h"
#include "chrome/common/chrome_switches.h"
diff --git a/chrome/browser/task_management/providers/web_contents/extension_task.h b/chrome/browser/task_management/providers/web_contents/extension_task.h
index a33ea40..c7c8633 100644
--- a/chrome/browser/task_management/providers/web_contents/extension_task.h
+++ b/chrome/browser/task_management/providers/web_contents/extension_task.h
@@ -5,6 +5,7 @@
#ifndef CHROME_BROWSER_TASK_MANAGEMENT_PROVIDERS_WEB_CONTENTS_EXTENSION_TASK_H_
#define CHROME_BROWSER_TASK_MANAGEMENT_PROVIDERS_WEB_CONTENTS_EXTENSION_TASK_H_
+#include "base/macros.h"
#include "chrome/browser/task_management/providers/web_contents/renderer_task.h"
#include "extensions/browser/extension_icon_image.h"
#include "extensions/common/view_type.h"
diff --git a/chrome/browser/task_management/providers/web_contents/guest_tag.h b/chrome/browser/task_management/providers/web_contents/guest_tag.h
index fed0fe0..bcdd8bf 100644
--- a/chrome/browser/task_management/providers/web_contents/guest_tag.h
+++ b/chrome/browser/task_management/providers/web_contents/guest_tag.h
@@ -5,6 +5,7 @@
#ifndef CHROME_BROWSER_TASK_MANAGEMENT_PROVIDERS_WEB_CONTENTS_GUEST_TAG_H_
#define CHROME_BROWSER_TASK_MANAGEMENT_PROVIDERS_WEB_CONTENTS_GUEST_TAG_H_
+#include "base/macros.h"
#include "chrome/browser/task_management/providers/web_contents/guest_task.h"
#include "chrome/browser/task_management/providers/web_contents/web_contents_tag.h"
diff --git a/chrome/browser/task_management/providers/web_contents/guest_task.h b/chrome/browser/task_management/providers/web_contents/guest_task.h
index 77ee9f6..a114b11 100644
--- a/chrome/browser/task_management/providers/web_contents/guest_task.h
+++ b/chrome/browser/task_management/providers/web_contents/guest_task.h
@@ -5,6 +5,7 @@
#ifndef CHROME_BROWSER_TASK_MANAGEMENT_PROVIDERS_WEB_CONTENTS_GUEST_TASK_H_
#define CHROME_BROWSER_TASK_MANAGEMENT_PROVIDERS_WEB_CONTENTS_GUEST_TASK_H_
+#include "base/macros.h"
#include "chrome/browser/task_management/providers/web_contents/renderer_task.h"
namespace task_management {
diff --git a/chrome/browser/task_management/providers/web_contents/panel_tag.h b/chrome/browser/task_management/providers/web_contents/panel_tag.h
index c09e137..8bd0155 100644
--- a/chrome/browser/task_management/providers/web_contents/panel_tag.h
+++ b/chrome/browser/task_management/providers/web_contents/panel_tag.h
@@ -5,6 +5,7 @@
#ifndef CHROME_BROWSER_TASK_MANAGEMENT_PROVIDERS_WEB_CONTENTS_PANEL_TAG_H_
#define CHROME_BROWSER_TASK_MANAGEMENT_PROVIDERS_WEB_CONTENTS_PANEL_TAG_H_
+#include "base/macros.h"
#include "chrome/browser/task_management/providers/web_contents/panel_task.h"
#include "chrome/browser/task_management/providers/web_contents/web_contents_tag.h"
diff --git a/chrome/browser/task_management/providers/web_contents/panel_task.h b/chrome/browser/task_management/providers/web_contents/panel_task.h
index 3073068..8c5100a 100644
--- a/chrome/browser/task_management/providers/web_contents/panel_task.h
+++ b/chrome/browser/task_management/providers/web_contents/panel_task.h
@@ -5,6 +5,7 @@
#ifndef CHROME_BROWSER_TASK_MANAGEMENT_PROVIDERS_WEB_CONTENTS_PANEL_TASK_H_
#define CHROME_BROWSER_TASK_MANAGEMENT_PROVIDERS_WEB_CONTENTS_PANEL_TASK_H_
+#include "base/macros.h"
#include "chrome/browser/task_management/providers/web_contents/renderer_task.h"
class Panel;
diff --git a/chrome/browser/task_management/providers/web_contents/prerender_tag.h b/chrome/browser/task_management/providers/web_contents/prerender_tag.h
index 6c6f959..48d0243 100644
--- a/chrome/browser/task_management/providers/web_contents/prerender_tag.h
+++ b/chrome/browser/task_management/providers/web_contents/prerender_tag.h
@@ -5,6 +5,7 @@
#ifndef CHROME_BROWSER_TASK_MANAGEMENT_PROVIDERS_WEB_CONTENTS_PRERENDER_TAG_H_
#define CHROME_BROWSER_TASK_MANAGEMENT_PROVIDERS_WEB_CONTENTS_PRERENDER_TAG_H_
+#include "base/macros.h"
#include "chrome/browser/task_management/providers/web_contents/prerender_task.h"
#include "chrome/browser/task_management/providers/web_contents/web_contents_tag.h"
diff --git a/chrome/browser/task_management/providers/web_contents/prerender_task.h b/chrome/browser/task_management/providers/web_contents/prerender_task.h
index 0b6fd93..3a27521 100644
--- a/chrome/browser/task_management/providers/web_contents/prerender_task.h
+++ b/chrome/browser/task_management/providers/web_contents/prerender_task.h
@@ -5,6 +5,7 @@
#ifndef CHROME_BROWSER_TASK_MANAGEMENT_PROVIDERS_WEB_CONTENTS_PRERENDER_TASK_H_
#define CHROME_BROWSER_TASK_MANAGEMENT_PROVIDERS_WEB_CONTENTS_PRERENDER_TASK_H_
+#include "base/macros.h"
#include "chrome/browser/task_management/providers/web_contents/renderer_task.h"
namespace task_management {
diff --git a/chrome/browser/task_management/providers/web_contents/printing_tag.h b/chrome/browser/task_management/providers/web_contents/printing_tag.h
index a9f74e2..1574028 100644
--- a/chrome/browser/task_management/providers/web_contents/printing_tag.h
+++ b/chrome/browser/task_management/providers/web_contents/printing_tag.h
@@ -5,6 +5,7 @@
#ifndef CHROME_BROWSER_TASK_MANAGEMENT_PROVIDERS_WEB_CONTENTS_PRINTING_TAG_H_
#define CHROME_BROWSER_TASK_MANAGEMENT_PROVIDERS_WEB_CONTENTS_PRINTING_TAG_H_
+#include "base/macros.h"
#include "chrome/browser/task_management/providers/web_contents/printing_task.h"
#include "chrome/browser/task_management/providers/web_contents/web_contents_tag.h"
diff --git a/chrome/browser/task_management/providers/web_contents/printing_task.h b/chrome/browser/task_management/providers/web_contents/printing_task.h
index 24ae3c2..d8d6299 100644
--- a/chrome/browser/task_management/providers/web_contents/printing_task.h
+++ b/chrome/browser/task_management/providers/web_contents/printing_task.h
@@ -5,6 +5,7 @@
#ifndef CHROME_BROWSER_TASK_MANAGEMENT_PROVIDERS_WEB_CONTENTS_PRINTING_TASK_H_
#define CHROME_BROWSER_TASK_MANAGEMENT_PROVIDERS_WEB_CONTENTS_PRINTING_TASK_H_
+#include "base/macros.h"
#include "chrome/browser/task_management/providers/web_contents/renderer_task.h"
namespace task_management {
diff --git a/chrome/browser/task_management/providers/web_contents/renderer_task.cc b/chrome/browser/task_management/providers/web_contents/renderer_task.cc
index 9a8ec77..ce966f6 100644
--- a/chrome/browser/task_management/providers/web_contents/renderer_task.cc
+++ b/chrome/browser/task_management/providers/web_contents/renderer_task.cc
@@ -45,7 +45,7 @@ base::string16 GetRendererProfileName(
return Task::GetProfileNameFromProfile(profile);
}
-inline bool IsRendererResourceSamplingDisabled(int64 flags) {
+inline bool IsRendererResourceSamplingDisabled(int64_t flags) {
return (flags & (REFRESH_TYPE_V8_MEMORY | REFRESH_TYPE_WEBCACHE_STATS)) == 0;
}
@@ -100,7 +100,7 @@ void RendererTask::Activate() {
}
void RendererTask::Refresh(const base::TimeDelta& update_interval,
- int64 refresh_flags) {
+ int64_t refresh_flags) {
Task::Refresh(update_interval, refresh_flags);
if (IsRendererResourceSamplingDisabled(refresh_flags))
@@ -112,9 +112,9 @@ void RendererTask::Refresh(const base::TimeDelta& update_interval,
// having valid values).
renderer_resources_sampler_->Refresh(base::Closure());
- v8_memory_allocated_ = base::saturated_cast<int64>(
+ v8_memory_allocated_ = base::saturated_cast<int64_t>(
renderer_resources_sampler_->GetV8MemoryAllocated());
- v8_memory_used_ = base::saturated_cast<int64>(
+ v8_memory_used_ = base::saturated_cast<int64_t>(
renderer_resources_sampler_->GetV8MemoryUsed());
webcache_stats_ = renderer_resources_sampler_->GetWebCoreCacheStats();
}
@@ -131,11 +131,11 @@ base::string16 RendererTask::GetProfileName() const {
return profile_name_;
}
-int64 RendererTask::GetV8MemoryAllocated() const {
+int64_t RendererTask::GetV8MemoryAllocated() const {
return v8_memory_allocated_;
}
-int64 RendererTask::GetV8MemoryUsed() const {
+int64_t RendererTask::GetV8MemoryUsed() const {
return v8_memory_used_;
}
diff --git a/chrome/browser/task_management/providers/web_contents/renderer_task.h b/chrome/browser/task_management/providers/web_contents/renderer_task.h
index 9baed10..0a9bdeb 100644
--- a/chrome/browser/task_management/providers/web_contents/renderer_task.h
+++ b/chrome/browser/task_management/providers/web_contents/renderer_task.h
@@ -5,6 +5,9 @@
#ifndef CHROME_BROWSER_TASK_MANAGEMENT_PROVIDERS_WEB_CONTENTS_RENDERER_TASK_H_
#define CHROME_BROWSER_TASK_MANAGEMENT_PROVIDERS_WEB_CONTENTS_RENDERER_TASK_H_
+#include <stdint.h>
+
+#include "base/macros.h"
#include "chrome/browser/task_management/providers/task.h"
#include "components/favicon/core/favicon_driver_observer.h"
#include "content/public/browser/navigation_entry.h"
@@ -48,12 +51,12 @@ class RendererTask : public Task,
// task_management::Task:
void Activate() override;
void Refresh(const base::TimeDelta& update_interval,
- int64 refresh_flags) override;
+ int64_t refresh_flags) override;
Type GetType() const override;
int GetChildProcessUniqueID() const override;
base::string16 GetProfileName() const override;
- int64 GetV8MemoryAllocated() const override;
- int64 GetV8MemoryUsed() const override;
+ int64_t GetV8MemoryAllocated() const override;
+ int64_t GetV8MemoryUsed() const override;
bool ReportsWebCacheStats() const override;
blink::WebCache::ResourceTypeStats GetWebCacheStats() const override;
@@ -101,8 +104,8 @@ class RendererTask : public Task,
const int render_process_id_;
// The allocated and used V8 memory (in bytes).
- int64 v8_memory_allocated_;
- int64 v8_memory_used_;
+ int64_t v8_memory_allocated_;
+ int64_t v8_memory_used_;
// The WebKit resource cache statistics for this renderer.
blink::WebCache::ResourceTypeStats webcache_stats_;
diff --git a/chrome/browser/task_management/providers/web_contents/subframe_task.h b/chrome/browser/task_management/providers/web_contents/subframe_task.h
index a251906..61d3219 100644
--- a/chrome/browser/task_management/providers/web_contents/subframe_task.h
+++ b/chrome/browser/task_management/providers/web_contents/subframe_task.h
@@ -5,6 +5,7 @@
#ifndef CHROME_BROWSER_TASK_MANAGEMENT_PROVIDERS_WEB_CONTENTS_SUBFRAME_TASK_H_
#define CHROME_BROWSER_TASK_MANAGEMENT_PROVIDERS_WEB_CONTENTS_SUBFRAME_TASK_H_
+#include "base/macros.h"
#include "chrome/browser/task_management/providers/web_contents/renderer_task.h"
namespace content {
diff --git a/chrome/browser/task_management/providers/web_contents/subframe_task_browsertest.cc b/chrome/browser/task_management/providers/web_contents/subframe_task_browsertest.cc
index e99a3f9..6163883 100644
--- a/chrome/browser/task_management/providers/web_contents/subframe_task_browsertest.cc
+++ b/chrome/browser/task_management/providers/web_contents/subframe_task_browsertest.cc
@@ -2,6 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
+#include "base/macros.h"
#include "base/strings/utf_string_conversions.h"
#include "chrome/browser/task_management/task_management_browsertest_util.h"
#include "chrome/grit/generated_resources.h"
diff --git a/chrome/browser/task_management/providers/web_contents/tab_contents_tag.h b/chrome/browser/task_management/providers/web_contents/tab_contents_tag.h
index 777a62f..8af93d3 100644
--- a/chrome/browser/task_management/providers/web_contents/tab_contents_tag.h
+++ b/chrome/browser/task_management/providers/web_contents/tab_contents_tag.h
@@ -5,6 +5,7 @@
#ifndef CHROME_BROWSER_TASK_MANAGEMENT_PROVIDERS_WEB_CONTENTS_TAB_CONTENTS_TAG_H_
#define CHROME_BROWSER_TASK_MANAGEMENT_PROVIDERS_WEB_CONTENTS_TAB_CONTENTS_TAG_H_
+#include "base/macros.h"
#include "chrome/browser/task_management/providers/web_contents/tab_contents_task.h"
#include "chrome/browser/task_management/providers/web_contents/web_contents_tag.h"
diff --git a/chrome/browser/task_management/providers/web_contents/tab_contents_tag_browsertest.cc b/chrome/browser/task_management/providers/web_contents/tab_contents_tag_browsertest.cc
index 7dfa845..b0853a9 100644
--- a/chrome/browser/task_management/providers/web_contents/tab_contents_tag_browsertest.cc
+++ b/chrome/browser/task_management/providers/web_contents/tab_contents_tag_browsertest.cc
@@ -2,6 +2,9 @@
// 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/path_service.h"
#include "base/strings/utf_string_conversions.h"
#include "chrome/browser/task_management/providers/web_contents/web_contents_tags_manager.h"
diff --git a/chrome/browser/task_management/providers/web_contents/tab_contents_task.h b/chrome/browser/task_management/providers/web_contents/tab_contents_task.h
index 4ed6bda..6ad1d88 100644
--- a/chrome/browser/task_management/providers/web_contents/tab_contents_task.h
+++ b/chrome/browser/task_management/providers/web_contents/tab_contents_task.h
@@ -5,6 +5,7 @@
#ifndef CHROME_BROWSER_TASK_MANAGEMENT_PROVIDERS_WEB_CONTENTS_TAB_CONTENTS_TASK_H_
#define CHROME_BROWSER_TASK_MANAGEMENT_PROVIDERS_WEB_CONTENTS_TAB_CONTENTS_TASK_H_
+#include "base/macros.h"
#include "chrome/browser/task_management/providers/web_contents/renderer_task.h"
namespace task_management {
diff --git a/chrome/browser/task_management/providers/web_contents/web_contents_tag.h b/chrome/browser/task_management/providers/web_contents/web_contents_tag.h
index 2b45783..300a20a 100644
--- a/chrome/browser/task_management/providers/web_contents/web_contents_tag.h
+++ b/chrome/browser/task_management/providers/web_contents/web_contents_tag.h
@@ -5,6 +5,7 @@
#ifndef CHROME_BROWSER_TASK_MANAGEMENT_PROVIDERS_WEB_CONTENTS_WEB_CONTENTS_TAG_H_
#define CHROME_BROWSER_TASK_MANAGEMENT_PROVIDERS_WEB_CONTENTS_WEB_CONTENTS_TAG_H_
+#include "base/macros.h"
#include "base/supports_user_data.h"
namespace content {
diff --git a/chrome/browser/task_management/providers/web_contents/web_contents_tags_manager.h b/chrome/browser/task_management/providers/web_contents/web_contents_tags_manager.h
index ad06501..89276d1 100644
--- a/chrome/browser/task_management/providers/web_contents/web_contents_tags_manager.h
+++ b/chrome/browser/task_management/providers/web_contents/web_contents_tags_manager.h
@@ -7,6 +7,7 @@
#include <vector>
+#include "base/macros.h"
#include "chrome/browser/task_management/providers/web_contents/web_contents_tag.h"
namespace base {
diff --git a/chrome/browser/task_management/providers/web_contents/web_contents_task_provider.cc b/chrome/browser/task_management/providers/web_contents/web_contents_task_provider.cc
index 9a3ef6b..a80a9e5 100644
--- a/chrome/browser/task_management/providers/web_contents/web_contents_task_provider.cc
+++ b/chrome/browser/task_management/providers/web_contents/web_contents_task_provider.cc
@@ -5,6 +5,7 @@
#include "chrome/browser/task_management/providers/web_contents/web_contents_task_provider.h"
#include "base/bind.h"
+#include "base/macros.h"
#include "base/stl_util.h"
#include "chrome/browser/task_management/providers/web_contents/subframe_task.h"
#include "chrome/browser/task_management/providers/web_contents/web_contents_tags_manager.h"
diff --git a/chrome/browser/task_management/providers/web_contents/web_contents_task_provider.h b/chrome/browser/task_management/providers/web_contents/web_contents_task_provider.h
index aeff7cc..3be0022 100644
--- a/chrome/browser/task_management/providers/web_contents/web_contents_task_provider.h
+++ b/chrome/browser/task_management/providers/web_contents/web_contents_task_provider.h
@@ -7,6 +7,7 @@
#include <map>
+#include "base/macros.h"
#include "chrome/browser/task_management/providers/task_provider.h"
namespace content {