Commit 0e929711 authored by willchan@chromium.org's avatar willchan@chromium.org

Reland r91815, "Clean up RegisterProtocolFactory calls."

It had broken the mac canaries with the warning:
cc1plus: warnings being treated as errors
/b/build/slave/Webkit_Mac10_5__dbg__2_/build/src/webkit/appcache/appcache_update_job_unittest.cc:556:
warning: 'appcache::AppCacheUpdateJobTest' has a field
'appcache::AppCacheUpdateJobTest::io_thread_' whose type uses the anonymous
namespace

This is the old gcc bug. I think the problem is Mac 10.5 vs 10.6. I'm working around by removing the anonymous namespace.

BUG=none
TEST=none

Review URL: http://codereview.chromium.org/7328017

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@91836 0039d316-1c4b-4281-b951-d872f2087c98
parent 5fba5009
...@@ -20,17 +20,17 @@ namespace net { ...@@ -20,17 +20,17 @@ namespace net {
class URLRequest; class URLRequest;
class URLRequestJob; class URLRequestJob;
class NET_TEST URLRequestJobFactory class NET_API URLRequestJobFactory
: NON_EXPORTED_BASE(public base::NonThreadSafe) { : NON_EXPORTED_BASE(public base::NonThreadSafe) {
public: public:
class NET_TEST ProtocolHandler { class NET_API ProtocolHandler {
public: public:
virtual ~ProtocolHandler(); virtual ~ProtocolHandler();
virtual URLRequestJob* MaybeCreateJob(URLRequest* request) const = 0; virtual URLRequestJob* MaybeCreateJob(URLRequest* request) const = 0;
}; };
class NET_TEST Interceptor { class NET_API Interceptor {
public: public:
virtual ~Interceptor(); virtual ~Interceptor();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment