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

Side by Side Diff: chrome/test/nacl/pnacl_header_test.h

Issue 653773004: Standardize usage of virtual/override/final in chrome/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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
« no previous file with comments | « chrome/test/nacl/nacl_browsertest_util.cc ('k') | chrome/test/perf/browser_perf_test.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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 CHROME_TEST_NACL_PNACL_HEADER_TEST_H_ 5 #ifndef CHROME_TEST_NACL_PNACL_HEADER_TEST_H_
6 #define CHROME_TEST_NACL_PNACL_HEADER_TEST_H_ 6 #define CHROME_TEST_NACL_PNACL_HEADER_TEST_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "chrome/test/base/in_process_browser_test.h" 10 #include "chrome/test/base/in_process_browser_test.h"
(...skipping 11 matching lines...) Expand all
22 } 22 }
23 } 23 }
24 24
25 using content::ResourceDispatcherHostDelegate; 25 using content::ResourceDispatcherHostDelegate;
26 26
27 class TestDispatcherHostDelegate : public ResourceDispatcherHostDelegate { 27 class TestDispatcherHostDelegate : public ResourceDispatcherHostDelegate {
28 public: 28 public:
29 explicit TestDispatcherHostDelegate() 29 explicit TestDispatcherHostDelegate()
30 : ResourceDispatcherHostDelegate(), found_pnacl_header_(false) {} 30 : ResourceDispatcherHostDelegate(), found_pnacl_header_(false) {}
31 31
32 virtual ~TestDispatcherHostDelegate() {} 32 ~TestDispatcherHostDelegate() override {}
33 33
34 virtual void RequestBeginning( 34 void RequestBeginning(
35 net::URLRequest* request, 35 net::URLRequest* request,
36 content::ResourceContext* resource_context, 36 content::ResourceContext* resource_context,
37 content::AppCacheService* appcache_service, 37 content::AppCacheService* appcache_service,
38 content::ResourceType resource_type, 38 content::ResourceType resource_type,
39 ScopedVector<content::ResourceThrottle>* throttles) override; 39 ScopedVector<content::ResourceThrottle>* throttles) override;
40 40
41 bool found_pnacl_header() const { return found_pnacl_header_; } 41 bool found_pnacl_header() const { return found_pnacl_header_; }
42 42
43 private: 43 private:
44 bool found_pnacl_header_; 44 bool found_pnacl_header_;
(...skipping 19 matching lines...) Expand all
64 scoped_ptr<net::test_server::HttpResponse> WatchForPexeFetch( 64 scoped_ptr<net::test_server::HttpResponse> WatchForPexeFetch(
65 const net::test_server::HttpRequest& request); 65 const net::test_server::HttpRequest& request);
66 66
67 int noncors_loads_; 67 int noncors_loads_;
68 int cors_loads_; 68 int cors_loads_;
69 TestDispatcherHostDelegate test_delegate_; 69 TestDispatcherHostDelegate test_delegate_;
70 DISALLOW_COPY_AND_ASSIGN(PnaclHeaderTest); 70 DISALLOW_COPY_AND_ASSIGN(PnaclHeaderTest);
71 }; 71 };
72 72
73 #endif // CHROME_TEST_NACL_PNACL_HEADER_TEST_H_ 73 #endif // CHROME_TEST_NACL_PNACL_HEADER_TEST_H_
OLDNEW
« no previous file with comments | « chrome/test/nacl/nacl_browsertest_util.cc ('k') | chrome/test/perf/browser_perf_test.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698