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

Unified Diff: chrome/browser/appcache/view_appcache_internals_job_factory.cc

Issue 6586001: Move appcache/file_sytem/device_orientation subdirectories of chrome\browser ... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: sync Created 9 years, 10 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: chrome/browser/appcache/view_appcache_internals_job_factory.cc
===================================================================
--- chrome/browser/appcache/view_appcache_internals_job_factory.cc (revision 75978)
+++ chrome/browser/appcache/view_appcache_internals_job_factory.cc (working copy)
@@ -1,28 +0,0 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "chrome/browser/appcache/view_appcache_internals_job_factory.h"
-
-#include "chrome/browser/net/chrome_url_request_context.h"
-#include "chrome/common/url_constants.h"
-#include "net/url_request/url_request.h"
-#include "webkit/appcache/appcache_service.h"
-#include "webkit/appcache/view_appcache_internals_job.h"
-
-// static.
-bool ViewAppCacheInternalsJobFactory::IsSupportedURL(const GURL& url) {
- return StartsWithASCII(url.spec(),
- chrome::kAppCacheViewInternalsURL,
- true /*case_sensitive*/);
-}
-
-// static.
-net::URLRequestJob* ViewAppCacheInternalsJobFactory::CreateJobForRequest(
- net::URLRequest* request) {
- net::URLRequestContext* context = request->context();
- ChromeURLRequestContext* chrome_request_context =
- reinterpret_cast<ChromeURLRequestContext*>(context);
- return new appcache::ViewAppCacheInternalsJob(
- request, chrome_request_context->appcache_service());
-}
« no previous file with comments | « chrome/browser/appcache/view_appcache_internals_job_factory.h ('k') | chrome/browser/browsing_data_appcache_helper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698