summaryrefslogtreecommitdiffstats
path: root/chrome/browser/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/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/browsing_data_database_helper.cc')
-rw-r--r--chrome/browser/browsing_data_database_helper.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/chrome/browser/browsing_data_database_helper.cc b/chrome/browser/browsing_data_database_helper.cc
index 09db4c8..11e5e6b 100644
--- a/chrome/browser/browsing_data_database_helper.cc
+++ b/chrome/browser/browsing_data_database_helper.cc
@@ -77,6 +77,7 @@ void BrowsingDataDatabaseHelper::FetchDatabaseInfoInFileThread() {
UTF16ToUTF8(*db),
origin_identifier,
UTF16ToUTF8(ori->GetDatabaseDescription(*db)),
+ web_security_origin.toString().utf8(),
file_info.size,
file_info.last_modified));
}
@@ -137,6 +138,7 @@ void CannedBrowsingDataDatabaseHelper::AddDatabase(
name,
origin_identifier,
description,
+ web_security_origin.toString().utf8(),
0,
base::Time()));
}