Index: chrome/browser/extensions/api/networking_private/networking_private_service_client_factory.h |
diff --git a/chrome/browser/extensions/api/networking_private/networking_private_service_client_factory.h b/chrome/browser/extensions/api/networking_private/networking_private_service_client_factory.h |
index 85d38fb1ff95a3d7e16de387ac9b6bcd3d732a17..79288fb0e3eaaf0ab26a7a9a1676664a5a2d5ad1 100644 |
--- a/chrome/browser/extensions/api/networking_private/networking_private_service_client_factory.h |
+++ b/chrome/browser/extensions/api/networking_private/networking_private_service_client_factory.h |
@@ -1,4 +1,4 @@ |
-// Copyright 2013 The Chromium Authors. All rights reserved. |
+// Copyright 2014 The Chromium Authors. All rights reserved. |
pneubeck (no reviews)
2014/07/14 21:33:58
shouldn't be changed?
stevenjb
2014/07/15 00:33:40
Done.
|
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
@@ -8,7 +8,9 @@ |
#include "base/memory/singleton.h" |
#include "components/keyed_service/content/browser_context_keyed_service_factory.h" |
-class Profile; |
+namespace context { |
+class BrowserContext; |
+} |
namespace extensions { |
@@ -17,9 +19,9 @@ class NetworkingPrivateServiceClient; |
class NetworkingPrivateServiceClientFactory |
: public BrowserContextKeyedServiceFactory { |
public: |
- static NetworkingPrivateServiceClient* GetForProfile(Profile* profile); |
- |
- static NetworkingPrivateServiceClientFactory* GetInstance(); |
+ static NetworkingPrivateServiceClient* GetForBrowserContext( |
+ content::BrowserContext* browser_context); |
+ static NetworkingPrivateServiceClient* GetInstance(); |
private: |
friend struct DefaultSingletonTraits<NetworkingPrivateServiceClientFactory>; |
@@ -29,7 +31,7 @@ class NetworkingPrivateServiceClientFactory |
// BrowserContextKeyedServiceFactory: |
virtual KeyedService* BuildServiceInstanceFor( |
- content::BrowserContext* profile) const OVERRIDE; |
+ content::BrowserContext* browser_context) const OVERRIDE; |
virtual bool ServiceIsCreatedWithBrowserContext() const OVERRIDE; |
virtual bool ServiceIsNULLWhileTesting() const OVERRIDE; |