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

Side by Side Diff: content/browser/appcache/view_appcache_internals_job_factory.cc

Issue 7002017: Get rid of another dependency on /chrome. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 7 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "content/browser/appcache/view_appcache_internals_job_factory.h"
6
7 #include "base/string_util.h"
8 #include "chrome/common/url_constants.h"
9 #include "content/browser/appcache/chrome_appcache_service.h"
10 #include "net/url_request/url_request.h"
11 #include "webkit/appcache/view_appcache_internals_job.h"
12
13 // static.
14 bool ViewAppCacheInternalsJobFactory::IsSupportedURL(const GURL& url) {
15 return StartsWithASCII(url.spec(),
16 chrome::kAppCacheViewInternalsURL,
17 true /*case_sensitive*/);
18 }
19
20 // static.
21 net::URLRequestJob* ViewAppCacheInternalsJobFactory::CreateJobForRequest(
22 net::URLRequest* request, ChromeAppCacheService* appcache_service) {
23 return new appcache::ViewAppCacheInternalsJob(
24 request, appcache_service);
25 }
OLDNEW
« no previous file with comments | « content/browser/appcache/view_appcache_internals_job_factory.h ('k') | content/content_browser.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698