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

Unified Diff: android_webview/common/aw_paths.cc

Issue 2932703003: Plumbing for safe browsing reporting for Android WebView. (Closed)
Patch Set: modify client name to android_webview Created 3 years, 6 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
« no previous file with comments | « android_webview/common/aw_paths.h ('k') | chrome/browser/safe_browsing/safe_browsing_service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: android_webview/common/aw_paths.cc
diff --git a/android_webview/common/aw_paths.cc b/android_webview/common/aw_paths.cc
index 2e57b0042d840589d88153694ad0d58378e4b848..390a7bed8d1e4fa241af20ceb9bcc1feb0c72483 100644
--- a/android_webview/common/aw_paths.cc
+++ b/android_webview/common/aw_paths.cc
@@ -21,6 +21,12 @@ bool PathProvider(int key, base::FilePath* result) {
cur = cur.Append(FILE_PATH_LITERAL("WebView"))
.Append(FILE_PATH_LITERAL("Crash Reports"));
break;
+ case DIR_SAFE_BROWSING:
+ if (!base::android::GetCacheDirectory(&cur))
+ return false;
+ cur = cur.Append(FILE_PATH_LITERAL("WebView"))
+ .Append(FILE_PATH_LITERAL("SafeBrowsing"));
+ break;
default:
return false;
}
« no previous file with comments | « android_webview/common/aw_paths.h ('k') | chrome/browser/safe_browsing/safe_browsing_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698