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

Side by Side Diff: third_party/WebKit/Source/modules/filesystem/InspectorFileSystemAgent.h

Issue 1686483002: Oilpan: Remove most WillBe types from the code base (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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) 2011, 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2011, 2012 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 are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * 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 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 27 matching lines...) Expand all
38 #include "wtf/PassRefPtr.h" 38 #include "wtf/PassRefPtr.h"
39 39
40 namespace blink { 40 namespace blink {
41 41
42 class ExecutionContext; 42 class ExecutionContext;
43 class InspectedFrames; 43 class InspectedFrames;
44 class SecurityOrigin; 44 class SecurityOrigin;
45 45
46 class MODULES_EXPORT InspectorFileSystemAgent final : public InspectorBaseAgent< InspectorFileSystemAgent, InspectorFrontend::FileSystem>, public InspectorBacken dDispatcher::FileSystemCommandHandler { 46 class MODULES_EXPORT InspectorFileSystemAgent final : public InspectorBaseAgent< InspectorFileSystemAgent, InspectorFrontend::FileSystem>, public InspectorBacken dDispatcher::FileSystemCommandHandler {
47 public: 47 public:
48 static PassOwnPtrWillBeRawPtr<InspectorFileSystemAgent> create(InspectedFram es*); 48 static RawPtr<InspectorFileSystemAgent> create(InspectedFrames*);
49 ~InspectorFileSystemAgent() override; 49 ~InspectorFileSystemAgent() override;
50 DECLARE_VIRTUAL_TRACE(); 50 DECLARE_VIRTUAL_TRACE();
51 51
52 void enable(ErrorString*) override; 52 void enable(ErrorString*) override;
53 53
54 void requestFileSystemRoot(ErrorString*, const String& origin, const String& typeString, PassRefPtr<RequestFileSystemRootCallback>) override; 54 void requestFileSystemRoot(ErrorString*, const String& origin, const String& typeString, PassRefPtr<RequestFileSystemRootCallback>) override;
55 void requestDirectoryContent(ErrorString*, const String& url, PassRefPtr<Req uestDirectoryContentCallback>) override; 55 void requestDirectoryContent(ErrorString*, const String& url, PassRefPtr<Req uestDirectoryContentCallback>) override;
56 void requestMetadata(ErrorString*, const String& url, PassRefPtr<RequestMeta dataCallback>) override; 56 void requestMetadata(ErrorString*, const String& url, PassRefPtr<RequestMeta dataCallback>) override;
57 void requestFileContent(ErrorString*, const String& url, bool readAsText, co nst int* start, const int* end, const String* charset, PassRefPtr<RequestFileCon tentCallback>) override; 57 void requestFileContent(ErrorString*, const String& url, bool readAsText, co nst int* start, const int* end, const String* charset, PassRefPtr<RequestFileCon tentCallback>) override;
58 void deleteEntry(ErrorString*, const String& url, PassRefPtr<DeleteEntryCall back>) override; 58 void deleteEntry(ErrorString*, const String& url, PassRefPtr<DeleteEntryCall back>) override;
59 59
60 void disable(ErrorString*) override; 60 void disable(ErrorString*) override;
61 void restore() override; 61 void restore() override;
62 62
63 private: 63 private:
64 explicit InspectorFileSystemAgent(InspectedFrames*); 64 explicit InspectorFileSystemAgent(InspectedFrames*);
65 bool assertEnabled(ErrorString*); 65 bool assertEnabled(ErrorString*);
66 ExecutionContext* assertExecutionContextForOrigin(ErrorString*, SecurityOrig in*); 66 ExecutionContext* assertExecutionContextForOrigin(ErrorString*, SecurityOrig in*);
67 67
68 RawPtrWillBeMember<InspectedFrames> m_inspectedFrames; 68 Member<InspectedFrames> m_inspectedFrames;
69 bool m_enabled; 69 bool m_enabled;
70 }; 70 };
71 71
72 } // namespace blink 72 } // namespace blink
73 73
74 #endif // InspectorFileSystemAgent_h 74 #endif // InspectorFileSystemAgent_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698