diff options
author | simon.hong81@gmail.com <simon.hong81@gmail.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-04-20 09:51:31 +0000 |
---|---|---|
committer | simon.hong81@gmail.com <simon.hong81@gmail.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-04-20 09:51:31 +0000 |
commit | ebbccb958d7979daaaac0230e6d4e785829be173 (patch) | |
tree | e95d888f26a8a649c773fc16bbbc8d5e0adf0463 /chrome/browser/history/android | |
parent | c149b9198168ca08da0a30d4fb63f0eb232d6001 (diff) | |
download | chromium_src-ebbccb958d7979daaaac0230e6d4e785829be173.zip chromium_src-ebbccb958d7979daaaac0230e6d4e785829be173.tar.gz chromium_src-ebbccb958d7979daaaac0230e6d4e785829be173.tar.bz2 |
Move RefCountedBytes Class to base namespace.
BUG=none
TEST=compiles and tests pass on trybots
Review URL: http://codereview.chromium.org/10083022
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@133170 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/history/android')
-rw-r--r-- | chrome/browser/history/android/android_provider_backend_unittest.cc | 10 | ||||
-rw-r--r-- | chrome/browser/history/android/favicon_sql_handler.cc | 4 |
2 files changed, 10 insertions, 4 deletions
diff --git a/chrome/browser/history/android/android_provider_backend_unittest.cc b/chrome/browser/history/android/android_provider_backend_unittest.cc index 7ff6936..77e7bb2 100644 --- a/chrome/browser/history/android/android_provider_backend_unittest.cc +++ b/chrome/browser/history/android/android_provider_backend_unittest.cc @@ -210,7 +210,10 @@ TEST_F(AndroidProviderBackendTest, UpdateTables) { // Set favicon to url2. std::vector<unsigned char> data; data.push_back('1'); - history_backend->SetFavicon(url2, GURL(), new RefCountedBytes(data), FAVICON); + history_backend->SetFavicon(url2, + GURL(), + new base::RefCountedBytes(data), + FAVICON); history_backend->Closing(); } @@ -333,7 +336,10 @@ TEST_F(AndroidProviderBackendTest, QueryHistoryAndBookmarks) { // Set favicon to url2. std::vector<unsigned char> data; data.push_back('1'); - history_backend->SetFavicon(url2, GURL(), new RefCountedBytes(data), FAVICON); + history_backend->SetFavicon(url2, + GURL(), + new base::RefCountedBytes(data), + FAVICON); history_backend->Closing(); } diff --git a/chrome/browser/history/android/favicon_sql_handler.cc b/chrome/browser/history/android/favicon_sql_handler.cc index b4f948d..d3c49b0 100644 --- a/chrome/browser/history/android/favicon_sql_handler.cc +++ b/chrome/browser/history/android/favicon_sql_handler.cc @@ -38,7 +38,7 @@ bool FaviconSQLHandler::Update(const HistoryAndBookmarkRow& row, return false; scoped_refptr<RefCountedMemory> image_data = - new RefCountedBytes(row.favicon()); + new base::RefCountedBytes(row.favicon()); if (!thumbnail_db_->SetFavicon(favicon_id, image_data, Time::Now())) return false; } @@ -114,7 +114,7 @@ bool FaviconSQLHandler::Insert(HistoryAndBookmarkRow* row) { return false; scoped_refptr<RefCountedMemory> image_data = - new RefCountedBytes(row->favicon()); + new base::RefCountedBytes(row->favicon()); if (!thumbnail_db_->SetFavicon(id, image_data, Time::Now())) return false; return thumbnail_db_->AddIconMapping(row->url(), id); |