summaryrefslogtreecommitdiffstats
path: root/chrome/browser/mock_browsing_data_database_helper.cc
diff options
context:
space:
mode:
authorjochen@chromium.org <jochen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-19 15:51:23 +0000
committerjochen@chromium.org <jochen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-19 15:51:23 +0000
commit652725dca523e36d14e6cf98d6e9fcf3a1db822c (patch)
tree325d774003497dc76e18a19d392536ada7c6bc0b /chrome/browser/mock_browsing_data_database_helper.cc
parenta3e8bd5a92fa93146c1716eff29ef19c6c29b124 (diff)
downloadchromium_src-652725dca523e36d14e6cf98d6e9fcf3a1db822c.zip
chromium_src-652725dca523e36d14e6cf98d6e9fcf3a1db822c.tar.gz
chromium_src-652725dca523e36d14e6cf98d6e9fcf3a1db822c.tar.bz2
Store creating url in origin nodes and use it for content settings.
BUG=none TEST=Cookies*.* Review URL: http://codereview.chromium.org/3048002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52910 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/mock_browsing_data_database_helper.cc')
-rw-r--r--chrome/browser/mock_browsing_data_database_helper.cc6
1 files changed, 4 insertions, 2 deletions
diff --git a/chrome/browser/mock_browsing_data_database_helper.cc b/chrome/browser/mock_browsing_data_database_helper.cc
index 54e33f4..c62445e 100644
--- a/chrome/browser/mock_browsing_data_database_helper.cc
+++ b/chrome/browser/mock_browsing_data_database_helper.cc
@@ -36,10 +36,12 @@ void MockBrowsingDataDatabaseHelper::DeleteDatabase(
void MockBrowsingDataDatabaseHelper::AddDatabaseSamples() {
response_.push_back(BrowsingDataDatabaseHelper::DatabaseInfo(
- "gdbhost1", "db1", "http_gdbhost1_1", "description 1", 1, base::Time()));
+ "gdbhost1", "db1", "http_gdbhost1_1", "description 1",
+ "http://gdbhost1:1/", 1, base::Time()));
databases_["http_gdbhost1_1:db1"] = true;
response_.push_back(BrowsingDataDatabaseHelper::DatabaseInfo(
- "gdbhost2", "db2", "http_gdbhost2_2", "description 2", 2, base::Time()));
+ "gdbhost2", "db2", "http_gdbhost2_2", "description 2",
+ "http://gdbhost2:2/", 2, base::Time()));
databases_["http_gdbhost2_2:db2"] = true;
}