Commit 35d187cf authored by Natalie Chouinard's avatar Natalie Chouinard Committed by Commit Bot

[Chromeshine] Forward declare more.

Remove some unnecessary compilation dependencies.

Bug: 918983
Change-Id: I8521a212443c35a541c7eedb9b5adc0327c4b5f7
Reviewed-on: https://chromium-review.googlesource.com/c/1478176Reviewed-by: default avatarPatrick Noland <pnoland@chromium.org>
Commit-Queue: Natalie Chouinard <chouinard@chromium.org>
Cr-Commit-Position: refs/heads/master@{#633765}
parent b93d299d
...@@ -10,6 +10,7 @@ ...@@ -10,6 +10,7 @@
#include "base/android/jni_array.h" #include "base/android/jni_array.h"
#include "base/android/jni_string.h" #include "base/android/jni_string.h"
#include "chrome/browser/android/usage_stats/usage_stats_database.h" #include "chrome/browser/android/usage_stats/usage_stats_database.h"
#include "chrome/browser/android/usage_stats/website_event.pb.h"
#include "chrome/browser/profiles/profile.h" #include "chrome/browser/profiles/profile.h"
#include "chrome/browser/profiles/profile_android.h" #include "chrome/browser/profiles/profile_android.h"
#include "chrome/common/pref_names.h" #include "chrome/common/pref_names.h"
......
...@@ -7,9 +7,12 @@ ...@@ -7,9 +7,12 @@
#include <utility> #include <utility>
#include "base/bind.h" #include "base/bind.h"
#include "base/callback.h"
#include "base/strings/safe_sprintf.h" #include "base/strings/safe_sprintf.h"
#include "base/strings/strcat.h" #include "base/strings/strcat.h"
#include "base/task/post_task.h" #include "base/task/post_task.h"
#include "chrome/browser/android/usage_stats/website_event.pb.h"
#include "chrome/browser/profiles/profile.h"
#include "components/leveldb_proto/content/proto_database_provider_factory.h" #include "components/leveldb_proto/content/proto_database_provider_factory.h"
#include "components/leveldb_proto/public/proto_database_provider.h" #include "components/leveldb_proto/public/proto_database_provider.h"
......
...@@ -10,18 +10,22 @@ ...@@ -10,18 +10,22 @@
#include <string> #include <string>
#include <vector> #include <vector>
#include "base/callback.h" #include "base/callback_forward.h"
#include "base/containers/flat_set.h" #include "base/containers/flat_set.h"
#include "base/containers/queue.h" #include "base/containers/queue.h"
#include "base/files/file_path.h" #include "base/files/file_path.h"
#include "base/macros.h" #include "base/macros.h"
#include "base/memory/weak_ptr.h" #include "base/memory/weak_ptr.h"
#include "chrome/browser/android/usage_stats/website_event.pb.h"
#include "chrome/browser/profiles/profile.h"
#include "components/leveldb_proto/public/proto_database.h" #include "components/leveldb_proto/public/proto_database.h"
class Profile;
namespace usage_stats { namespace usage_stats {
class WebsiteEvent;
class Suspension;
class TokenMapping;
using leveldb_proto::ProtoDatabase; using leveldb_proto::ProtoDatabase;
// Stores website events, suspensions and token to fully-qualified domain name // Stores website events, suspensions and token to fully-qualified domain name
......
...@@ -7,6 +7,7 @@ ...@@ -7,6 +7,7 @@
#include <utility> #include <utility>
#include "base/bind.h" #include "base/bind.h"
#include "chrome/browser/android/usage_stats/website_event.pb.h"
#include "components/leveldb_proto/testing/fake_db.h" #include "components/leveldb_proto/testing/fake_db.h"
#include "testing/gmock/include/gmock/gmock.h" #include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h" #include "testing/gtest/include/gtest/gtest.h"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment