shill: Add Portal Detection object
Add a utility object that will perform a repeated test of an
HTTP URL and return the result to a callback.
BUG=chromium-os:23318
TEST=New unit tests
Change-Id: I0449dbe51fb1dcef2ecd3bb88de1bcaf2950f749
Reviewed-on: https://gerrit.chromium.org/gerrit/15472
Commit-Ready: Paul Stewart <pstew@chromium.org>
Reviewed-by: Paul Stewart <pstew@chromium.org>
Tested-by: Paul Stewart <pstew@chromium.org>
diff --git a/default_profile.h b/default_profile.h
index 7e0f5cf..58f619b 100644
--- a/default_profile.h
+++ b/default_profile.h
@@ -1,4 +1,4 @@
-// Copyright (c) 2011 The Chromium OS Authors. All rights reserved.
+// Copyright (c) 2012 The Chromium OS Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -49,6 +49,7 @@
private:
friend class DefaultProfileTest;
FRIEND_TEST(DefaultProfileTest, GetStoragePath);
+ FRIEND_TEST(DefaultProfileTest, LoadManagerDefaultProperties);
FRIEND_TEST(DefaultProfileTest, LoadManagerProperties);
FRIEND_TEST(DefaultProfileTest, Save);
@@ -58,6 +59,7 @@
static const char kStorageHostName[];
static const char kStorageName[];
static const char kStorageOfflineMode[];
+ static const char kStoragePortalURL[];
const FilePath storage_path_;
const Manager::Properties &props_;