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

Unified Diff: chromeos/dbus/shill_profile_client.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: chromeos/dbus/shill_profile_client.cc
diff --git a/chromeos/dbus/shill_profile_client.cc b/chromeos/dbus/shill_profile_client.cc
index 6fb0a1b595394fe2cddaf6b2d24b75871556c960..3a6d41105296284eada09a5f91a928174aa28764 100644
--- a/chromeos/dbus/shill_profile_client.cc
+++ b/chromeos/dbus/shill_profile_client.cc
@@ -20,6 +20,8 @@ namespace chromeos {
namespace {
+const char kSharedProfilePath[] = "/profile/default";
+
class ShillProfileClientImpl : public ShillProfileClient {
public:
ShillProfileClientImpl();
@@ -138,4 +140,9 @@ ShillProfileClient* ShillProfileClient::Create() {
return new ShillProfileClientImpl();
}
+// static
+const char* ShillProfileClient::GetSharedProfilePath() {
+ return &kSharedProfilePath[0];
+}
+
} // namespace chromeos

Powered by Google App Engine
This is Rietveld 408576698