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

Unified Diff: chrome/browser/content_settings/tab_specific_content_settings.cc

Issue 273513005: Avoid sync IPCs for FileSystem API [chromium] (2/4) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix a bug Created 6 years, 7 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/content_settings/tab_specific_content_settings.cc
diff --git a/chrome/browser/content_settings/tab_specific_content_settings.cc b/chrome/browser/content_settings/tab_specific_content_settings.cc
index 7de878d869c2641d030433ad7d6ecdbf54ad37f5..d4da60f694b8e64828dee462c57e2a6a0b8390f9 100644
--- a/chrome/browser/content_settings/tab_specific_content_settings.cc
+++ b/chrome/browser/content_settings/tab_specific_content_settings.cc
@@ -205,6 +205,21 @@ void TabSpecificContentSettings::IndexedDBAccessed(
}
// static
+void TabSpecificContentSettings::FileSystemAccessedAsyn(
Fady Samuel 2014/05/13 17:22:25 No need for this function.
Xi Han 2014/05/13 18:08:37 Done.
+ int routing_id,
+ int render_process_id,
+ int render_frame_id,
+ const GURL& url,
+ bool blocked_by_policy,
+ base::Callback<void(int, int, bool)> Callbacks) {
+ FileSystemAccessed(
+ render_process_id,
+ render_frame_id, url,
+ blocked_by_policy);
+ Callbacks.Run(routing_id, render_frame_id, !blocked_by_policy);
+}
+
+// static
void TabSpecificContentSettings::FileSystemAccessed(int render_process_id,
int render_frame_id,
const GURL& url,

Powered by Google App Engine
This is Rietveld 408576698