Commit 19acda1b authored by jyquinn's avatar jyquinn Committed by Commit bot

Remove ServiceIsNullForTesting override for FaviconServiceFactory

Removes ServiceIsNullForTesting override in FaviconServiceFactory
to enable use of FaviconServiceFactory in tests.

BUG=557415

Review URL: https://codereview.chromium.org/1458703009

Cr-Commit-Position: refs/heads/master@{#361108}
parent c2da6320
...@@ -57,8 +57,4 @@ scoped_ptr<KeyedService> FaviconServiceFactory::BuildServiceInstanceFor( ...@@ -57,8 +57,4 @@ scoped_ptr<KeyedService> FaviconServiceFactory::BuildServiceInstanceFor(
browser_state, ServiceAccessType::EXPLICIT_ACCESS))); browser_state, ServiceAccessType::EXPLICIT_ACCESS)));
} }
bool FaviconServiceFactory::ServiceIsNULLWhileTesting() const {
return true;
}
} // namespace ios } // namespace ios
...@@ -42,7 +42,6 @@ class FaviconServiceFactory : public BrowserStateKeyedServiceFactory { ...@@ -42,7 +42,6 @@ class FaviconServiceFactory : public BrowserStateKeyedServiceFactory {
// BrowserStateKeyedServiceFactory implementation. // BrowserStateKeyedServiceFactory implementation.
scoped_ptr<KeyedService> BuildServiceInstanceFor( scoped_ptr<KeyedService> BuildServiceInstanceFor(
web::BrowserState* context) const override; web::BrowserState* context) const override;
bool ServiceIsNULLWhileTesting() const override;
DISALLOW_COPY_AND_ASSIGN(FaviconServiceFactory); DISALLOW_COPY_AND_ASSIGN(FaviconServiceFactory);
}; };
......
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