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

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

Issue 1949373002: DevTools: introduce Storage.clearDataForOrigin protocol command. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: comments addressed Created 4 years, 7 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
(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_DEVTOOLS_PROTOCOL_STORAGE_HANDLER_H_
6 #define CONTENT_BROWSER_DEVTOOLS_PROTOCOL_STORAGE_HANDLER_H_
7
8 #include "base/macros.h"
9 #include "content/browser/devtools/devtools_protocol_handler.h"
10 #include "content/browser/devtools/protocol/devtools_protocol_dispatcher.h"
11
12 namespace content {
13
14 class RenderFrameHost;
15
16 namespace devtools {
17 namespace storage {
18
19 class StorageHandler {
20 public:
21 typedef DevToolsProtocolClient::Response Response;
22
23 StorageHandler();
24 ~StorageHandler();
25
26 void SetRenderFrameHost(RenderFrameHost* host);
27
28 Response ClearDataForOrigin(
29 const std::string& origin,
30 const std::string& storage_types);
31
32 private:
33 RenderFrameHost* host_;
34
35 DISALLOW_COPY_AND_ASSIGN(StorageHandler);
36 };
37
38 } // namespace storage
39 } // namespace devtools
40 } // namespace content
41
42 #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