diff options
author | smckay@chromium.org <smckay@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-07-21 00:26:32 +0000 |
---|---|---|
committer | smckay@chromium.org <smckay@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-07-21 00:26:32 +0000 |
commit | ab563ff06585024ba472e35a2944ed787202101c (patch) | |
tree | c2699a2f1a6224d93f14e19283db7a958d2d4ed9 /base/message_loop.h | |
parent | 1f4bb9e8d93accfc080f62b419ca312d1f48f11e (diff) | |
download | chromium_src-ab563ff06585024ba472e35a2944ed787202101c.zip chromium_src-ab563ff06585024ba472e35a2944ed787202101c.tar.gz chromium_src-ab563ff06585024ba472e35a2944ed787202101c.tar.bz2 |
Convert ProtocolHandlerRegistry to be a ProfileKeyedService.
BUG=129200
TEST=protocol_handler_registry_browsertest.cc,protocol_handler_registry_unittest.cc
willchan@ -> profile_io changes
+bauerb -> content_settings changes
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=147597
Review URL: https://chromiumcodereview.appspot.com/10546083
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@147745 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/message_loop.h')
-rw-r--r-- | base/message_loop.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/base/message_loop.h b/base/message_loop.h index eeba6bb..0812c0f 100644 --- a/base/message_loop.h +++ b/base/message_loop.h @@ -258,6 +258,10 @@ class BASE_EXPORT MessageLoop : public base::MessagePump::Delegate { // arbitrary MessageLoop to QuitWhenIdle. static base::Closure QuitWhenIdleClosure(); + // Returns true if this loop is |type|. This allows subclasses (especially + // those in tests) to specialize how they are identified. + virtual bool IsType(Type type) const; + // Returns the type passed to the constructor. Type type() const { return type_; } |