summaryrefslogtreecommitdiffstats
path: root/ppapi/examples/file_chooser
diff options
context:
space:
mode:
authorbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-07-15 19:07:39 +0000
committerbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-07-15 19:07:39 +0000
commitcc0eb0e6ac56e505d07c29dc54df7e668d768a32 (patch)
tree773d00ba8a005425e251615dd2dbb6589ed23432 /ppapi/examples/file_chooser
parenta8e80d8bdbf48a742810e184db6826cd473183d7 (diff)
downloadchromium_src-cc0eb0e6ac56e505d07c29dc54df7e668d768a32.zip
chromium_src-cc0eb0e6ac56e505d07c29dc54df7e668d768a32.tar.gz
chromium_src-cc0eb0e6ac56e505d07c29dc54df7e668d768a32.tar.bz2
Clean up the file dev interfaces. The combination of some dev and some non
dev interfaces in various places makes it impossible to compile some code. This makes the dev versions typedefs which should avoid breaking most (though not all) users. It also converts the file chooser to using the non-dev version of file ref. TEST=it compiles Review URL: http://codereview.chromium.org/7387011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92725 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi/examples/file_chooser')
-rw-r--r--ppapi/examples/file_chooser/file_chooser.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/ppapi/examples/file_chooser/file_chooser.cc b/ppapi/examples/file_chooser/file_chooser.cc
index 32a10c5..598095f 100644
--- a/ppapi/examples/file_chooser/file_chooser.cc
+++ b/ppapi/examples/file_chooser/file_chooser.cc
@@ -6,7 +6,7 @@
#include "ppapi/c/pp_input_event.h"
#include "ppapi/cpp/completion_callback.h"
#include "ppapi/cpp/dev/file_chooser_dev.h"
-#include "ppapi/cpp/dev/file_ref_dev.h"
+#include "ppapi/cpp/file_ref.h"
#include "ppapi/cpp/module.h"
#include "ppapi/cpp/private/instance_private.h"
#include "ppapi/cpp/private/var_private.h"
@@ -56,7 +56,7 @@ class MyInstance : public pp::InstancePrivate {
if (!file_chooser)
return;
- pp::FileRef_Dev file_ref = file_chooser->GetNextChosenFile();
+ pp::FileRef file_ref = file_chooser->GetNextChosenFile();
while (!file_ref.is_null()) {
Log(file_ref.GetName());
file_ref = file_chooser->GetNextChosenFile();