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

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

Issue 2554293002: devtools: Make it possible to retrieve all cookies (Closed)
Patch Set: Update front-end Created 4 years 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
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_NETWORK_HANDLER_H_ 5 #ifndef CONTENT_BROWSER_DEVTOOLS_PROTOCOL_NETWORK_HANDLER_H_
6 #define CONTENT_BROWSER_DEVTOOLS_PROTOCOL_NETWORK_HANDLER_H_ 6 #define CONTENT_BROWSER_DEVTOOLS_PROTOCOL_NETWORK_HANDLER_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "base/memory/weak_ptr.h" 9 #include "base/memory/weak_ptr.h"
10 #include "content/browser/devtools/protocol/devtools_protocol_dispatcher.h" 10 #include "content/browser/devtools/protocol/devtools_protocol_dispatcher.h"
(...skipping 14 matching lines...) Expand all
25 25
26 void SetRenderFrameHost(RenderFrameHostImpl* host); 26 void SetRenderFrameHost(RenderFrameHostImpl* host);
27 void SetClient(std::unique_ptr<Client> client); 27 void SetClient(std::unique_ptr<Client> client);
28 28
29 Response Enable(const int* max_total_size, 29 Response Enable(const int* max_total_size,
30 const int* max_resource_size); 30 const int* max_resource_size);
31 Response Disable(); 31 Response Disable();
32 32
33 Response ClearBrowserCache(); 33 Response ClearBrowserCache();
34 Response ClearBrowserCookies(); 34 Response ClearBrowserCookies();
35 Response GetCookies(DevToolsCommandId command_id); 35 Response GetCookies(DevToolsCommandId command_id, const bool* global);
36 Response DeleteCookie(DevToolsCommandId command_id, 36 Response DeleteCookie(DevToolsCommandId command_id,
37 const std::string& cookie_name, 37 const std::string& cookie_name,
38 const std::string& url); 38 const std::string& url);
39 39
40 Response SetCookie(DevToolsCommandId command_id, 40 Response SetCookie(DevToolsCommandId command_id,
41 const std::string& url, 41 const std::string& url,
42 const std::string& name, 42 const std::string& name,
43 const std::string& value, 43 const std::string& value,
44 const std::string* domain, 44 const std::string* domain,
45 const std::string* path, 45 const std::string* path,
(...skipping 24 matching lines...) Expand all
70 base::WeakPtrFactory<NetworkHandler> weak_factory_; 70 base::WeakPtrFactory<NetworkHandler> weak_factory_;
71 71
72 DISALLOW_COPY_AND_ASSIGN(NetworkHandler); 72 DISALLOW_COPY_AND_ASSIGN(NetworkHandler);
73 }; 73 };
74 74
75 } // namespace network 75 } // namespace network
76 } // namespace devtools 76 } // namespace devtools
77 } // namespace content 77 } // namespace content
78 78
79 #endif // CONTENT_BROWSER_DEVTOOLS_PROTOCOL_NETWORK_HANDLER_H_ 79 #endif // CONTENT_BROWSER_DEVTOOLS_PROTOCOL_NETWORK_HANDLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698