| Index: content/browser/service_worker/service_worker_utils.h | 
| diff --git a/content/browser/service_worker/service_worker_utils.h b/content/browser/service_worker/service_worker_utils.h | 
| index 38669c4317648145870670961284df7a64f50aed..4163132b5c6ada8b104224bcc153829f83b25a7c 100644 | 
| --- a/content/browser/service_worker/service_worker_utils.h | 
| +++ b/content/browser/service_worker/service_worker_utils.h | 
| @@ -5,10 +5,14 @@ | 
| #ifndef CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_UTILS_H_ | 
| #define CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_UTILS_H_ | 
|  | 
| +#include <vector> | 
| + | 
| #include "content/common/content_export.h" | 
| #include "content/common/service_worker/service_worker_status_code.h" | 
| #include "webkit/common/resource_type.h" | 
|  | 
| +class GURL; | 
| + | 
| namespace content { | 
|  | 
| class ServiceWorkerUtils { | 
| @@ -31,6 +35,11 @@ class ServiceWorkerUtils { | 
|  | 
| // Returns true if |scope| matches |url|. | 
| CONTENT_EXPORT static bool ScopeMatches(const GURL& scope, const GURL& url); | 
| + | 
| +  // Finds a scope that matches |url| longest from |scopes|. Returns true and | 
| +  // fills |pos| with a position of the scope in |scopes| if it's found. | 
| +  CONTENT_EXPORT static bool FindLongestScopeMatch( | 
| +      const std::vector<GURL>& scopes, const GURL& url, size_t* pos); | 
| }; | 
|  | 
| }  // namespace content | 
|  |