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

Unified Diff: content/common/service_worker/service_worker_utils.h

Issue 1259213002: Move Service Worker %2f path validation logic from browser into Blink (1) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix remaining nits. Created 5 years, 4 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: content/common/service_worker/service_worker_utils.h
diff --git a/content/browser/service_worker/service_worker_utils.h b/content/common/service_worker/service_worker_utils.h
similarity index 90%
rename from content/browser/service_worker/service_worker_utils.h
rename to content/common/service_worker/service_worker_utils.h
index c03f4f2dccdd99b0da60f00dac0ff4fbc191f7f3..1f7473580e4b95cba7551f1862633d54e388a941 100644
--- a/content/browser/service_worker/service_worker_utils.h
+++ b/content/common/service_worker/service_worker_utils.h
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_UTILS_H_
-#define CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_UTILS_H_
+#ifndef CONTENT_COMMON_SERVICE_WORKER_SERVICE_WORKER_UTILS_H_
+#define CONTENT_COMMON_SERVICE_WORKER_SERVICE_WORKER_UTILS_H_
#include "base/macros.h"
#include "content/common/content_export.h"
@@ -57,4 +57,4 @@ class CONTENT_EXPORT LongestScopeMatcher {
} // namespace content
-#endif // CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_UTILS_H_
+#endif // CONTENT_COMMON_SERVICE_WORKER_SERVICE_WORKER_UTILS_H_

Powered by Google App Engine
This is Rietveld 408576698