summaryrefslogtreecommitdiffstats
path: root/webkit/plugins/ppapi/file_callbacks.cc
diff options
context:
space:
mode:
Diffstat (limited to 'webkit/plugins/ppapi/file_callbacks.cc')
-rw-r--r--webkit/plugins/ppapi/file_callbacks.cc7
1 files changed, 3 insertions, 4 deletions
diff --git a/webkit/plugins/ppapi/file_callbacks.cc b/webkit/plugins/ppapi/file_callbacks.cc
index 92d443b..6706d47 100644
--- a/webkit/plugins/ppapi/file_callbacks.cc
+++ b/webkit/plugins/ppapi/file_callbacks.cc
@@ -1,10 +1,9 @@
-// Copyright (c) 2010 The Chromium Authors. All rights reserved.
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "webkit/plugins/ppapi/file_callbacks.h"
-#include "base/file_path.h"
#include "base/logging.h"
#include "ppapi/c/dev/ppb_file_system_dev.h"
#include "ppapi/c/dev/pp_file_info_dev.h"
@@ -76,12 +75,12 @@ void FileCallbacks::DidReadDirectory(
}
void FileCallbacks::DidOpenFileSystem(const std::string&,
- const FilePath& root_path) {
+ const GURL& root_url) {
if (callback_->completed())
return;
DCHECK(file_system_);
- file_system_->set_root_path(root_path);
+ file_system_->set_root_url(root_url);
file_system_->set_opened(true);
callback_->Run(PP_OK);