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

Side by Side Diff: Source/modules/filesystem/InspectorFileSystemAgent.cpp

Issue 1257253004: [HTMLCanvasElement.toBlob] Default callback version without scheduler (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: A small change from thread safe bind to common bind based on Kinuko's review Created 5 years, 3 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 20 matching lines...) Expand all
31 #include "config.h" 31 #include "config.h"
32 #include "modules/filesystem/InspectorFileSystemAgent.h" 32 #include "modules/filesystem/InspectorFileSystemAgent.h"
33 33
34 #include "bindings/core/v8/ExceptionStatePlaceholder.h" 34 #include "bindings/core/v8/ExceptionStatePlaceholder.h"
35 #include "bindings/core/v8/UnionTypesCore.h" 35 #include "bindings/core/v8/UnionTypesCore.h"
36 #include "core/dom/DOMArrayBuffer.h" 36 #include "core/dom/DOMArrayBuffer.h"
37 #include "core/dom/DOMImplementation.h" 37 #include "core/dom/DOMImplementation.h"
38 #include "core/dom/Document.h" 38 #include "core/dom/Document.h"
39 #include "core/events/Event.h" 39 #include "core/events/Event.h"
40 #include "core/fileapi/File.h" 40 #include "core/fileapi/File.h"
41 #include "core/fileapi/FileCallback.h"
41 #include "core/fileapi/FileError.h" 42 #include "core/fileapi/FileError.h"
Noel Gordon 2015/08/28 08:53:47 Agree, having FileCallback in module was just plai
42 #include "core/fileapi/FileReader.h" 43 #include "core/fileapi/FileReader.h"
43 #include "core/frame/LocalFrame.h" 44 #include "core/frame/LocalFrame.h"
44 #include "core/html/HTMLMediaElement.h" 45 #include "core/html/HTMLMediaElement.h"
45 #include "core/html/VoidCallback.h" 46 #include "core/html/VoidCallback.h"
46 #include "core/html/parser/TextResourceDecoder.h" 47 #include "core/html/parser/TextResourceDecoder.h"
47 #include "core/inspector/InspectorState.h" 48 #include "core/inspector/InspectorState.h"
48 #include "core/page/Page.h" 49 #include "core/page/Page.h"
49 #include "modules/filesystem/DOMFileSystem.h" 50 #include "modules/filesystem/DOMFileSystem.h"
50 #include "modules/filesystem/DirectoryEntry.h" 51 #include "modules/filesystem/DirectoryEntry.h"
51 #include "modules/filesystem/DirectoryReader.h" 52 #include "modules/filesystem/DirectoryReader.h"
52 #include "modules/filesystem/EntriesCallback.h" 53 #include "modules/filesystem/EntriesCallback.h"
53 #include "modules/filesystem/Entry.h" 54 #include "modules/filesystem/Entry.h"
54 #include "modules/filesystem/EntryCallback.h" 55 #include "modules/filesystem/EntryCallback.h"
55 #include "modules/filesystem/ErrorCallback.h" 56 #include "modules/filesystem/ErrorCallback.h"
56 #include "modules/filesystem/FileCallback.h"
57 #include "modules/filesystem/FileEntry.h" 57 #include "modules/filesystem/FileEntry.h"
58 #include "modules/filesystem/FileSystemCallbacks.h" 58 #include "modules/filesystem/FileSystemCallbacks.h"
59 #include "modules/filesystem/LocalFileSystem.h" 59 #include "modules/filesystem/LocalFileSystem.h"
60 #include "modules/filesystem/Metadata.h" 60 #include "modules/filesystem/Metadata.h"
61 #include "modules/filesystem/MetadataCallback.h" 61 #include "modules/filesystem/MetadataCallback.h"
62 #include "platform/ContentType.h" 62 #include "platform/ContentType.h"
63 #include "platform/MIMETypeRegistry.h" 63 #include "platform/MIMETypeRegistry.h"
64 #include "platform/heap/Handle.h" 64 #include "platform/heap/Handle.h"
65 #include "platform/weborigin/KURL.h" 65 #include "platform/weborigin/KURL.h"
66 #include "platform/weborigin/SecurityOrigin.h" 66 #include "platform/weborigin/SecurityOrigin.h"
(...skipping 699 matching lines...) Expand 10 before | Expand all | Expand 10 after
766 return 0; 766 return 0;
767 } 767 }
768 768
769 DEFINE_TRACE(InspectorFileSystemAgent) 769 DEFINE_TRACE(InspectorFileSystemAgent)
770 { 770 {
771 visitor->trace(m_page); 771 visitor->trace(m_page);
772 InspectorBaseAgent::trace(visitor); 772 InspectorBaseAgent::trace(visitor);
773 } 773 }
774 774
775 } // namespace blink 775 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698