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

Unified Diff: chromeos/dbus/shill_stub_helper.h

Issue 24150004: Refactor the setup of Shill*Stubs' default environment. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed some includes. Created 7 years, 3 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
« no previous file with comments | « chromeos/dbus/shill_service_client_stub.cc ('k') | chromeos/dbus/shill_stub_helper.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos/dbus/shill_stub_helper.h
diff --git a/chromeos/dbus/shill_stub_helper.h b/chromeos/dbus/shill_stub_helper.h
new file mode 100644
index 0000000000000000000000000000000000000000..16c7031e1d8d7f27a35d7e9656f93615ed5c3528
--- /dev/null
+++ b/chromeos/dbus/shill_stub_helper.h
@@ -0,0 +1,28 @@
+// Copyright 2013 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CHROMEOS_DBUS_SHILL_STUB_HELPER_H_
+#define CHROMEOS_DBUS_SHILL_STUB_HELPER_H_
+
+#include <string>
+
+#include "chromeos/chromeos_export.h"
+
+namespace chromeos {
+namespace shill_stub_helper {
+
+CHROMEOS_EXPORT extern const char kSharedProfilePath[];
+
+// Add default devices, services and profiles. This works only if
+// DBusThreadManager was initialized with the Shill*ClientStubs.
+void SetupDefaultEnvironment();
+
+// Returns true when stub portalled wifi is enabled and it's service
+// path equals to |path|.
+CHROMEOS_EXPORT bool IsStubPortalledWifiEnabled(const std::string& path);
+
+} // namespace shill_stub_helper
+} // namespace chromeos
+
+#endif // CHROMEOS_DBUS_SHILL_STUB_HELPER_H_
« no previous file with comments | « chromeos/dbus/shill_service_client_stub.cc ('k') | chromeos/dbus/shill_stub_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698