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

Side by Side Diff: third_party/WebKit/Source/modules/storage/InspectorDOMStorageAgent.h

Issue 1738073002: DevTools: introduce protocol::Value, baseline for hierarchical data in remote debugging protocol. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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
1 /* 1 /*
2 * Copyright (C) 2010 Google Inc. All rights reserved. 2 * Copyright (C) 2010 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 7 *
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 21 matching lines...) Expand all
32 #include "core/inspector/InspectorBaseAgent.h" 32 #include "core/inspector/InspectorBaseAgent.h"
33 #include "modules/ModulesExport.h" 33 #include "modules/ModulesExport.h"
34 #include "modules/storage/StorageArea.h" 34 #include "modules/storage/StorageArea.h"
35 #include "wtf/HashMap.h" 35 #include "wtf/HashMap.h"
36 #include "wtf/PassOwnPtr.h" 36 #include "wtf/PassOwnPtr.h"
37 #include "wtf/text/WTFString.h" 37 #include "wtf/text/WTFString.h"
38 38
39 namespace blink { 39 namespace blink {
40 40
41 class LocalFrame; 41 class LocalFrame;
42 class JSONObject;
43 class Page; 42 class Page;
44 class StorageArea; 43 class StorageArea;
45 44
45 namespace protocol {
46 class DictionaryValue;
47 }
48
46 typedef String ErrorString; 49 typedef String ErrorString;
47 50
48 class MODULES_EXPORT InspectorDOMStorageAgent final : public InspectorBaseAgent< InspectorDOMStorageAgent, protocol::Frontend::DOMStorage>, public protocol::Disp atcher::DOMStorageCommandHandler { 51 class MODULES_EXPORT InspectorDOMStorageAgent final : public InspectorBaseAgent< InspectorDOMStorageAgent, protocol::Frontend::DOMStorage>, public protocol::Disp atcher::DOMStorageCommandHandler {
49 public: 52 public:
50 static PassOwnPtrWillBeRawPtr<InspectorDOMStorageAgent> create(Page* page) 53 static PassOwnPtrWillBeRawPtr<InspectorDOMStorageAgent> create(Page* page)
51 { 54 {
52 return adoptPtrWillBeNoop(new InspectorDOMStorageAgent(page)); 55 return adoptPtrWillBeNoop(new InspectorDOMStorageAgent(page));
53 } 56 }
54 57
55 ~InspectorDOMStorageAgent() override; 58 ~InspectorDOMStorageAgent() override;
(...skipping 17 matching lines...) Expand all
73 StorageArea* findStorageArea(ErrorString*, PassOwnPtr<protocol::DOMStorage:: StorageId>, LocalFrame*&); 76 StorageArea* findStorageArea(ErrorString*, PassOwnPtr<protocol::DOMStorage:: StorageId>, LocalFrame*&);
74 PassOwnPtr<protocol::DOMStorage::StorageId> storageId(SecurityOrigin*, bool isLocalStorage); 77 PassOwnPtr<protocol::DOMStorage::StorageId> storageId(SecurityOrigin*, bool isLocalStorage);
75 78
76 RawPtrWillBeMember<Page> m_page; 79 RawPtrWillBeMember<Page> m_page;
77 bool m_isEnabled; 80 bool m_isEnabled;
78 }; 81 };
79 82
80 } // namespace blink 83 } // namespace blink
81 84
82 #endif // !defined(InspectorDOMStorageAgent_h) 85 #endif // !defined(InspectorDOMStorageAgent_h)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698