predictors: Store protobufs in the database.
This is the first step in the conversion of the database to a protocol
buffer based storage format. This introduces a protocol buffer based
format for storage. A forthcoming CL will remove ResourceRow.
BUG=631966
Review-Url: https://codereview.chromium.org/2263243002
Cr-Commit-Position: refs/heads/master@{#413716}
diff --git a/chrome/browser/BUILD.gn b/chrome/browser/BUILD.gn
index 41b4875c..bd9e131 100644
--- a/chrome/browser/BUILD.gn
+++ b/chrome/browser/BUILD.gn
@@ -312,6 +312,7 @@
}
deps += [
+ ":resource_prefetch_predictor_proto",
"//cc",
"//chrome/app/theme:theme_resources",
"//chrome/browser/devtools",
@@ -988,6 +989,14 @@
}
}
+if (!is_ios) {
+ proto_library("resource_prefetch_predictor_proto") {
+ sources = [
+ "predictors/resource_prefetch_predictor.proto",
+ ]
+ }
+}
+
# GYP version: chrome/chrome_resources.gyp:chrome_resources
# (generate_browser_resources action)
grit("resources") {