Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2206)

Unified Diff: chrome/browser/sync/glue/favicon_cache.h

Issue 13006012: [Sync] Fix double tranaction acquire in favicon code (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/sync/glue/favicon_cache.h
diff --git a/chrome/browser/sync/glue/favicon_cache.h b/chrome/browser/sync/glue/favicon_cache.h
index b7c8f7c27e92322c0f57ae736e2bfd34c3cfbb3c..1ac5db7e3426517907697d5c81e96d30b6b094c9 100644
--- a/chrome/browser/sync/glue/favicon_cache.h
+++ b/chrome/browser/sync/glue/favicon_cache.h
@@ -100,6 +100,7 @@ class FaviconCache : public syncer::SyncableService,
// Consume Session sync favicon data. Will not overwrite existing favicons.
// If |icon_bytes| is empty, only updates the page->favicon url mapping.
+ // Safe to call within a transaction.
void OnReceivedSyncFavicon(const GURL& page_url,
const GURL& icon_url,
const std::string& icon_bytes,
« no previous file with comments | « no previous file | chrome/browser/sync/glue/favicon_cache.cc » ('j') | chrome/browser/sync/glue/favicon_cache_unittest.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698