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

Unified Diff: webkit/plugins/ppapi/ppb_file_chooser_impl.h

Issue 9015009: Use the new callback tracker and delete the old one (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add IsPending Created 8 years, 12 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webkit/plugins/ppapi/ppb_directory_reader_impl.cc ('k') | webkit/plugins/ppapi/ppb_file_chooser_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/plugins/ppapi/ppb_file_chooser_impl.h
diff --git a/webkit/plugins/ppapi/ppb_file_chooser_impl.h b/webkit/plugins/ppapi/ppb_file_chooser_impl.h
index 8b76c4ffdd111b740ba7fccd89ec1bdbcf6f5e90..2ba9c5cf4292be89662ab250921e5b971fe25482 100644
--- a/webkit/plugins/ppapi/ppb_file_chooser_impl.h
+++ b/webkit/plugins/ppapi/ppb_file_chooser_impl.h
@@ -17,6 +17,10 @@
struct PP_CompletionCallback;
+namespace ppapi {
+class TrackedCallback;
+}
+
namespace WebKit {
class WebString;
}
@@ -25,7 +29,6 @@ namespace webkit {
namespace ppapi {
class PPB_FileRef_Impl;
-class TrackedCompletionCallback;
class PPB_FileChooser_Impl : public ::ppapi::Resource,
public ::ppapi::thunk::PPB_FileChooser_API {
@@ -77,7 +80,7 @@ class PPB_FileChooser_Impl : public ::ppapi::Resource,
private:
PP_FileChooserMode_Dev mode_;
std::string accept_mime_types_;
- scoped_refptr<TrackedCompletionCallback> callback_;
+ scoped_refptr< ::ppapi::TrackedCallback> callback_;
std::vector< scoped_refptr<PPB_FileRef_Impl> > chosen_files_;
size_t next_chosen_file_index_;
};
« no previous file with comments | « webkit/plugins/ppapi/ppb_directory_reader_impl.cc ('k') | webkit/plugins/ppapi/ppb_file_chooser_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698