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

Unified Diff: chrome/browser/extensions/api/networking_private/networking_private_apitest.cc

Issue 181413006: Replace misc. network stub flags with more flexible ones (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Elim. shill_stub_helper and move functions to clients. Created 6 years, 10 months 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/browser/extensions/api/networking_private/networking_private_apitest.cc
diff --git a/chrome/browser/extensions/api/networking_private/networking_private_apitest.cc b/chrome/browser/extensions/api/networking_private/networking_private_apitest.cc
index 19441df3225f3611cb33d62da136d84454e0fe19..ca58c84cfc5f354b08c85807a2a61bc61dc98907 100644
--- a/chrome/browser/extensions/api/networking_private/networking_private_apitest.cc
+++ b/chrome/browser/extensions/api/networking_private/networking_private_apitest.cc
@@ -20,7 +20,6 @@
#include "chromeos/dbus/shill_manager_client.h"
#include "chromeos/dbus/shill_profile_client.h"
#include "chromeos/dbus/shill_service_client.h"
-#include "chromeos/dbus/shill_stub_helper.h"
#include "chromeos/network/onc/onc_utils.h"
#include "components/onc/onc_constants.h"
#include "components/policy/core/browser/browser_policy_connector.h"
@@ -171,8 +170,8 @@ class ExtensionNetworkingPrivateApiTest :
service_test->SetServiceProperty(
"stub_ethernet",
shill::kProfileProperty,
- base::StringValue(chromeos::shill_stub_helper::kSharedProfilePath));
- profile_test->AddService(chromeos::shill_stub_helper::kSharedProfilePath,
+ base::StringValue(ShillProfileClient::GetSharedProfilePath()));
+ profile_test->AddService(ShillProfileClient::GetSharedProfilePath(),
"stub_ethernet");
service_test->AddService("stub_wifi1", "wifi1",

Powered by Google App Engine
This is Rietveld 408576698