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

Unified Diff: chrome/browser/extensions/extension_test_api.h

Issue 5711001: Add a new GetInstance() method for remaining files with singleton classes under chrome/browser. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 10 years 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/extensions/extension_test_api.h
diff --git a/chrome/browser/extensions/extension_test_api.h b/chrome/browser/extensions/extension_test_api.h
index 27b55dc8b3e24a05592b102d2afacc18f734456a..f8dff86653a7b02eac315fa2cb86aaa03049cc9c 100644
--- a/chrome/browser/extensions/extension_test_api.h
+++ b/chrome/browser/extensions/extension_test_api.h
@@ -65,6 +65,8 @@ class ExtensionTestGetConfigFunction : public SyncExtensionFunction {
// state, owned by the test code.
class TestConfigState {
public:
+ static TestConfigState* GetInstance();
+
void set_config_state(DictionaryValue* config_state) {
config_state_ = config_state;
}

Powered by Google App Engine
This is Rietveld 408576698