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

Side by Side Diff: content/browser/loader/null_resource_controller.h

Issue 2526983002: Refactor ResourceHandler API. (Closed)
Patch Set: Fix merge Created 3 years, 11 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
OLDNEW
(Empty)
1 // Copyright 2016 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 #ifndef CONTENT_BROWSER_LOADER_NULL_RESOURCE_CONTROLLER_H_
6 #define CONTENT_BROWSER_LOADER_NULL_RESOURCE_CONTROLLER_H_
7
8 #include "base/macros.h"
9 #include "content/browser/loader/resource_controller.h"
10
11 namespace content {
12
13 class NullResourceController : public ResourceController {
mmenke 2017/01/23 23:15:18 I really want to get rid of this class in the futu
14 public:
15 explicit NullResourceController(bool* was_resumed);
16 ~NullResourceController() override;
17
18 void Cancel() override;
19 void CancelAndIgnore() override;
20 void CancelWithError(int error_code) override;
21 void Resume() override;
22
23 private:
24 bool* was_resumed_;
25
26 DISALLOW_COPY_AND_ASSIGN(NullResourceController);
27 };
28
29 } // namespace content
30
31 #endif // CONTENT_BROWSER_LOADER_NULL_RESOURCE_CONTROLLER_H_
OLDNEW
« no previous file with comments | « content/browser/loader/navigation_resource_handler.cc ('k') | content/browser/loader/null_resource_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698