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

Unified Diff: chrome/test/base/testing_profile.cc

Issue 67923002: Fixes for -Wunused-function on Linux, Android and ChromeOS (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase for realz Created 7 years, 1 month 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/test/base/testing_profile.cc
diff --git a/chrome/test/base/testing_profile.cc b/chrome/test/base/testing_profile.cc
index 18a75dcd292464babeee67a125157112c6e5ac55..5a273b608140c67f1063b6cd7b4f84e726d7a331 100644
--- a/chrome/test/base/testing_profile.cc
+++ b/chrome/test/base/testing_profile.cc
@@ -151,14 +151,12 @@ class TestExtensionURLRequestContextGetter
scoped_ptr<net::URLRequestContext> context_;
};
+#if defined(ENABLE_NOTIFICATIONS)
BrowserContextKeyedService* CreateTestDesktopNotificationService(
content::BrowserContext* profile) {
-#if defined(ENABLE_NOTIFICATIONS)
return new DesktopNotificationService(static_cast<Profile*>(profile), NULL);
-#else
- return NULL;
-#endif
}
+#endif
} // namespace
« no previous file with comments | « chrome/renderer/printing/print_web_view_helper_browsertest.cc ('k') | chromeos/dbus/fake_shill_service_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698