summaryrefslogtreecommitdiff
path: root/profile.h
diff options
context:
space:
mode:
authorPaul Stewart <pstew@chromium.org>2012-04-09 18:09:36 -0700
committerGerrit <chrome-bot@google.com>2012-04-10 17:19:12 -0700
commit6681533daa896254189d1061ede8aab242a82ab9 (patch)
tree883e1f5e1e2a0bbd36743ae3a006a47a8ede0336 /profile.h
parente4aaf5e85a1852919cef57d95a7a14fbb4a6a004 (diff)
downloadshill-6681533daa896254189d1061ede8aab242a82ab9.tar.gz
shill: vpn: Configure VPN services from newly-pushed profiles
When a new profile is pushed, look for VPN entries and configure services for them. BUG=chromium-os:28157 TEST=New unit test Change-Id: I571c791710e172f1385842867342ee96d8eb4eb0 Reviewed-on: https://gerrit.chromium.org/gerrit/19871 Commit-Ready: Paul Stewart <pstew@chromium.org> Reviewed-by: Paul Stewart <pstew@chromium.org> Tested-by: Paul Stewart <pstew@chromium.org>
Diffstat (limited to 'profile.h')
-rw-r--r--profile.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/profile.h b/profile.h
index 80895d2e..daa171dd 100644
--- a/profile.h
+++ b/profile.h
@@ -128,8 +128,9 @@ class Profile : public base::RefCounted<Profile> {
const std::string &GetUser() const { return name_.user; }
// Returns a read-only copy of the backing storage of the profile.
- // TODO(pstew): Needed by ProfileDBusPropertyExporter crosbug.com/25813
- const StoreInterface *GetConstStorage() const { return storage_.get(); }
+ virtual const StoreInterface *GetConstStorage() const {
+ return storage_.get();
+ }
protected:
// Protected getters