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

Unified Diff: base/path_service.h

Issue 7087014: Support automatic javascript test registry in gtest when creating WebUI tests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Added example of helper functions which aren't included as tests. Created 9 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
« no previous file with comments | « no previous file | base/path_service.cc » ('j') | chrome/browser/ui/webui/web_ui_browsertest.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/path_service.h
diff --git a/base/path_service.h b/base/path_service.h
index 284fbf7e9536950c4952ff95603530809ca690b7..80cac2250f8048aa979a20b0a29d92f6cf8ab091 100644
--- a/base/path_service.h
+++ b/base/path_service.h
@@ -55,6 +55,8 @@ class BASE_API PathService {
static void RegisterProvider(ProviderFunc provider,
int key_start,
int key_end);
+ // Call to unregister a path provider.
+ static void UnregisterProvider(ProviderFunc provider);
private:
static bool GetFromCache(int key, FilePath* path);
static bool GetFromOverrides(int key, FilePath* path);
« no previous file with comments | « no previous file | base/path_service.cc » ('j') | chrome/browser/ui/webui/web_ui_browsertest.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698