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

Unified Diff: components/captive_portal/captive_portal_testing_utils.h

Issue 242483003: Move CaptivePortalDetector to src/components/captive_portal (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Move CaptivePortalDetector to a component Created 6 years, 8 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: components/captive_portal/captive_portal_testing_utils.h
diff --git a/chrome/browser/captive_portal/testing_utils.h b/components/captive_portal/captive_portal_testing_utils.h
similarity index 83%
rename from chrome/browser/captive_portal/testing_utils.h
rename to components/captive_portal/captive_portal_testing_utils.h
index 85ea37eda1cb5da957ef7ef6d03976ea4f76c4d6..b3ba67e43dab980e3468186a9962ad21adf19abe 100644
--- a/chrome/browser/captive_portal/testing_utils.h
+++ b/components/captive_portal/captive_portal_testing_utils.h
@@ -2,25 +2,23 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CHROME_BROWSER_CAPTIVE_PORTAL_TESTING_UTILS_H_
-#define CHROME_BROWSER_CAPTIVE_PORTAL_TESTING_UTILS_H_
+#ifndef COMPONENTS_CAPTIVE_PORTAL_CAPTIVE_PORTAL_TESTING_UTILS_H_
+#define COMPONENTS_CAPTIVE_PORTAL_CAPTIVE_PORTAL_TESTING_UTILS_H_
#include <string>
#include "base/basictypes.h"
-#include "chrome/browser/captive_portal/captive_portal_detector.h"
+#include "components/captive_portal/captive_portal_detector.h"
#include "net/url_request/test_url_fetcher_factory.h"
namespace base {
class Time;
}
-namespace net {
-class URLFetcher;
-}
-
namespace captive_portal {
+class URLFetcher;
mmenke 2014/04/21 14:32:43 There isn't a captive_portal::URLFetcher class...
stevenjb 2014/04/21 16:42:27 Done.
+
class CaptivePortalDetectorTestBase {
public:
CaptivePortalDetectorTestBase();
@@ -55,4 +53,4 @@ class CaptivePortalDetectorTestBase {
} // namespace captive_portal
-#endif // CHROME_BROWSER_CAPTIVE_PORTAL_TESTING_UTILS_H_
+#endif // COMPONENTS_CAPTIVE_PORTAL_CAPTIVE_PORTAL_TESTING_UTILS_H_

Powered by Google App Engine
This is Rietveld 408576698