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

Side by Side Diff: webkit/common/appcache/appcache_interfaces.cc

Issue 22314003: NavigationController prototype Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: NavController prototype - chrome side Created 7 years, 3 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
« no previous file with comments | « webkit/common/appcache/appcache_interfaces.h ('k') | webkit/storage_browser.gyp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "webkit/common/appcache/appcache_interfaces.h" 5 #include "webkit/common/appcache/appcache_interfaces.h"
6 6
7 #include <set> 7 #include <set>
8 8
9 #include "base/lazy_instance.h" 9 #include "base/lazy_instance.h"
10 #include "base/strings/string_util.h" 10 #include "base/strings/string_util.h"
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
120 120
121 bool IsMethodSupported(const std::string& method) { 121 bool IsMethodSupported(const std::string& method) {
122 return (method == kHttpGETMethod) || (method == kHttpHEADMethod); 122 return (method == kHttpGETMethod) || (method == kHttpHEADMethod);
123 } 123 }
124 124
125 bool IsSchemeAndMethodSupported(const net::URLRequest* request) { 125 bool IsSchemeAndMethodSupported(const net::URLRequest* request) {
126 return IsSchemeSupported(request->url()) && 126 return IsSchemeSupported(request->url()) &&
127 IsMethodSupported(request->method()); 127 IsMethodSupported(request->method());
128 } 128 }
129 129
130 AppCacheExecutableHandlerInterfaces::Response::Response() :
131 status_code(0) {
132 }
133
134 AppCacheExecutableHandlerInterfaces::Response::~Response() {
135 }
136
137 AppCacheExecutableHandlerInterfaces::Request::Request() :
138 is_main_resource_load(false) {
139 }
140
141 AppCacheExecutableHandlerInterfaces::Request::~Request() {
142 }
143
130 } // namespace appcache 144 } // namespace appcache
OLDNEW
« no previous file with comments | « webkit/common/appcache/appcache_interfaces.h ('k') | webkit/storage_browser.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698