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

Side by Side Diff: Source/core/inspector/InspectorDOMStorageAgent.h

Issue 884753003: Fix template angle bracket syntax in inspector (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Some more fixes Created 5 years, 10 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 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 virtual ~InspectorDOMStorageAgent(); 53 virtual ~InspectorDOMStorageAgent();
54 virtual void trace(Visitor*) override; 54 virtual void trace(Visitor*) override;
55 55
56 virtual void setFrontend(InspectorFrontend*) override; 56 virtual void setFrontend(InspectorFrontend*) override;
57 virtual void clearFrontend() override; 57 virtual void clearFrontend() override;
58 virtual void restore() override; 58 virtual void restore() override;
59 59
60 // Called from the front-end. 60 // Called from the front-end.
61 virtual void enable(ErrorString*) override; 61 virtual void enable(ErrorString*) override;
62 virtual void disable(ErrorString*) override; 62 virtual void disable(ErrorString*) override;
63 virtual void getDOMStorageItems(ErrorString*, const RefPtr<JSONObject>& stor ageId, RefPtr<TypeBuilder::Array<TypeBuilder::Array<String> > >& items) override ; 63 virtual void getDOMStorageItems(ErrorString*, const RefPtr<JSONObject>& stor ageId, RefPtr<TypeBuilder::Array<TypeBuilder::Array<String>>>& items) override;
64 virtual void setDOMStorageItem(ErrorString*, const RefPtr<JSONObject>& stora geId, const String& key, const String& value) override; 64 virtual void setDOMStorageItem(ErrorString*, const RefPtr<JSONObject>& stora geId, const String& key, const String& value) override;
65 virtual void removeDOMStorageItem(ErrorString*, const RefPtr<JSONObject>& st orageId, const String& key) override; 65 virtual void removeDOMStorageItem(ErrorString*, const RefPtr<JSONObject>& st orageId, const String& key) override;
66 66
67 // Called from InspectorInstrumentation 67 // Called from InspectorInstrumentation
68 void didDispatchDOMStorageEvent(const String& key, const String& oldValue, c onst String& newValue, StorageType, SecurityOrigin*); 68 void didDispatchDOMStorageEvent(const String& key, const String& oldValue, c onst String& newValue, StorageType, SecurityOrigin*);
69 69
70 private: 70 private:
71 71
72 explicit InspectorDOMStorageAgent(InspectorPageAgent*); 72 explicit InspectorDOMStorageAgent(InspectorPageAgent*);
73 73
74 bool isEnabled() const; 74 bool isEnabled() const;
75 PassOwnPtrWillBeRawPtr<StorageArea> findStorageArea(ErrorString*, const RefP tr<JSONObject>&, LocalFrame*&); 75 PassOwnPtrWillBeRawPtr<StorageArea> findStorageArea(ErrorString*, const RefP tr<JSONObject>&, LocalFrame*&);
76 PassRefPtr<TypeBuilder::DOMStorage::StorageId> storageId(SecurityOrigin*, bo ol isLocalStorage); 76 PassRefPtr<TypeBuilder::DOMStorage::StorageId> storageId(SecurityOrigin*, bo ol isLocalStorage);
77 77
78 RawPtrWillBeMember<InspectorPageAgent> m_pageAgent; 78 RawPtrWillBeMember<InspectorPageAgent> m_pageAgent;
79 InspectorFrontend::DOMStorage* m_frontend; 79 InspectorFrontend::DOMStorage* m_frontend;
80 }; 80 };
81 81
82 } // namespace blink 82 } // namespace blink
83 83
84 #endif // !defined(InspectorDOMStorageAgent_h) 84 #endif // !defined(InspectorDOMStorageAgent_h)
OLDNEW
« no previous file with comments | « Source/core/inspector/InspectorDOMDebuggerAgent.cpp ('k') | Source/core/inspector/InspectorDOMStorageAgent.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698