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

Side by Side Diff: content/browser/devtools/protocol/storage_handler.h

Issue 2608793002: DevTools: Fix storage handler host-setting (Closed)
Patch Set: 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
« no previous file with comments | « no previous file | content/browser/devtools/protocol/storage_handler.cc » ('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 2016 The Chromium Authors. All rights reserved. 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 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 CONTENT_BROWSER_DEVTOOLS_PROTOCOL_STORAGE_HANDLER_H_ 5 #ifndef CONTENT_BROWSER_DEVTOOLS_PROTOCOL_STORAGE_HANDLER_H_
6 #define CONTENT_BROWSER_DEVTOOLS_PROTOCOL_STORAGE_HANDLER_H_ 6 #define CONTENT_BROWSER_DEVTOOLS_PROTOCOL_STORAGE_HANDLER_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "content/browser/devtools/protocol/devtools_domain_handler.h" 9 #include "content/browser/devtools/protocol/devtools_domain_handler.h"
10 #include "content/browser/devtools/protocol/storage.h" 10 #include "content/browser/devtools/protocol/storage.h"
11 11
12 namespace content { 12 namespace content {
13 13
14 class RenderFrameHostImpl; 14 class RenderFrameHostImpl;
15 15
16 namespace protocol { 16 namespace protocol {
17 17
18 class StorageHandler : public DevToolsDomainHandler, 18 class StorageHandler : public DevToolsDomainHandler,
19 public Storage::Backend { 19 public Storage::Backend {
20 public: 20 public:
21 StorageHandler(); 21 StorageHandler();
22 ~StorageHandler() override; 22 ~StorageHandler() override;
23 23
24 void Wire(UberDispatcher* dispatcher) override; 24 void Wire(UberDispatcher* dispatcher) override;
25 void SetRenderFrameHost(RenderFrameHostImpl* host) override;
25 26
26 Response ClearDataForOrigin( 27 Response ClearDataForOrigin(
27 const std::string& origin, 28 const std::string& origin,
28 const std::string& storage_types) override; 29 const std::string& storage_types) override;
29 30
30 private: 31 private:
31 RenderFrameHostImpl* host_; 32 RenderFrameHostImpl* host_;
32 33
33 DISALLOW_COPY_AND_ASSIGN(StorageHandler); 34 DISALLOW_COPY_AND_ASSIGN(StorageHandler);
34 }; 35 };
35 36
36 } // namespace protocol 37 } // namespace protocol
37 } // namespace content 38 } // namespace content
38 39
39 #endif // CONTENT_BROWSER_DEVTOOLS_PROTOCOL_STORAGE_HANDLER_H_ 40 #endif // CONTENT_BROWSER_DEVTOOLS_PROTOCOL_STORAGE_HANDLER_H_
OLDNEW
« no previous file with comments | « no previous file | content/browser/devtools/protocol/storage_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698