Index: chrome/browser/extensions/api/socket/socket_api_unittest.cc |
diff --git a/chrome/browser/extensions/api/socket/socket_api_unittest.cc b/chrome/browser/extensions/api/socket/socket_api_unittest.cc |
index 7634f1e9a17fe3990775fcabfa427ee58238a663..00447a8d7e5451cdf61fa84c7c8a37f7521131bf 100644 |
--- a/chrome/browser/extensions/api/socket/socket_api_unittest.cc |
+++ b/chrome/browser/extensions/api/socket/socket_api_unittest.cc |
@@ -2,6 +2,7 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
+#include "base/memory/scoped_ptr.h" |
#include "base/values.h" |
#include "chrome/browser/browser_process_impl.h" |
#include "chrome/browser/extensions/extension_api_unittest.h" |
@@ -16,7 +17,8 @@ |
namespace extensions { |
-KeyedService* ApiResourceManagerTestFactory(content::BrowserContext* context) { |
+scoped_ptr<KeyedService> ApiResourceManagerTestFactory( |
+ content::BrowserContext* context) { |
content::BrowserThread::ID id; |
CHECK(content::BrowserThread::GetCurrentThreadIdentifier(&id)); |
return ApiResourceManager<Socket>::CreateApiResourceManagerForTest(context, |