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

Side by Side Diff: webkit/appcache/mock_appcache_policy.h

Issue 8539047: Add OVERRIDE to webkit/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix Created 9 years, 1 month 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/appcache/appcache_url_request_job.h ('k') | webkit/appcache/mock_appcache_service.h » ('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) 2011 The Chromium Authors. All rights reserved. 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 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 #ifndef WEBKIT_APPCACHE_MOCK_APPCACHE_POLICY_H_ 5 #ifndef WEBKIT_APPCACHE_MOCK_APPCACHE_POLICY_H_
6 #define WEBKIT_APPCACHE_MOCK_APPCACHE_POLICY_H_ 6 #define WEBKIT_APPCACHE_MOCK_APPCACHE_POLICY_H_
7 7
8 #include "base/compiler_specific.h"
8 #include "googleurl/src/gurl.h" 9 #include "googleurl/src/gurl.h"
9 #include "webkit/appcache/appcache_policy.h" 10 #include "webkit/appcache/appcache_policy.h"
10 11
11 namespace appcache { 12 namespace appcache {
12 13
13 class MockAppCachePolicy : public AppCachePolicy { 14 class MockAppCachePolicy : public AppCachePolicy {
14 public: 15 public:
15 MockAppCachePolicy(); 16 MockAppCachePolicy();
16 virtual ~MockAppCachePolicy(); 17 virtual ~MockAppCachePolicy();
17 18
18 virtual bool CanLoadAppCache(const GURL& manifest_url, 19 virtual bool CanLoadAppCache(const GURL& manifest_url,
19 const GURL& first_party); 20 const GURL& first_party) OVERRIDE;
20 virtual bool CanCreateAppCache(const GURL& manifest_url, 21 virtual bool CanCreateAppCache(const GURL& manifest_url,
21 const GURL& first_party); 22 const GURL& first_party) OVERRIDE;
22 23
23 bool can_load_return_value_; 24 bool can_load_return_value_;
24 bool can_create_return_value_; 25 bool can_create_return_value_;
25 GURL requested_manifest_url_; 26 GURL requested_manifest_url_;
26 }; 27 };
27 28
28 } // namespace appcache 29 } // namespace appcache
29 30
30 #endif // WEBKIT_APPCACHE_MOCK_APPCACHE_POLICY_H_ 31 #endif // WEBKIT_APPCACHE_MOCK_APPCACHE_POLICY_H_
OLDNEW
« no previous file with comments | « webkit/appcache/appcache_url_request_job.h ('k') | webkit/appcache/mock_appcache_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698