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

Side by Side Diff: content/renderer/pepper/pepper_plugin_delegate_impl.cc

Issue 14671020: FileAPI: Copy base::FileUtilProxy::Entry to fileapi::DirectoryEntry (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 7 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "content/renderer/pepper/pepper_plugin_delegate_impl.h" 5 #include "content/renderer/pepper/pepper_plugin_delegate_impl.h"
6 6
7 #include <cmath> 7 #include <cmath>
8 #include <cstddef> 8 #include <cstddef>
9 #include <map> 9 #include <map>
10 #include <queue> 10 #include <queue>
(...skipping 267 matching lines...) Expand 10 before | Expand all | Expand 10 after
278 const base::PlatformFileInfo& file_info, 278 const base::PlatformFileInfo& file_info,
279 const base::FilePath& platform_path) OVERRIDE { 279 const base::FilePath& platform_path) OVERRIDE {
280 NOTREACHED(); 280 NOTREACHED();
281 } 281 }
282 virtual void DidCreateSnapshotFile( 282 virtual void DidCreateSnapshotFile(
283 const base::PlatformFileInfo& file_info, 283 const base::PlatformFileInfo& file_info,
284 const base::FilePath& platform_path) OVERRIDE { 284 const base::FilePath& platform_path) OVERRIDE {
285 NOTREACHED(); 285 NOTREACHED();
286 } 286 }
287 virtual void DidReadDirectory( 287 virtual void DidReadDirectory(
288 const std::vector<base::FileUtilProxy::Entry>& entries, 288 const std::vector<fileapi::FileSystemOperation::Entry>& entries,
289 bool has_more) OVERRIDE { 289 bool has_more) OVERRIDE {
290 NOTREACHED(); 290 NOTREACHED();
291 } 291 }
292 virtual void DidOpenFileSystem(const std::string& name, 292 virtual void DidOpenFileSystem(const std::string& name,
293 const GURL& root) OVERRIDE { 293 const GURL& root) OVERRIDE {
294 NOTREACHED(); 294 NOTREACHED();
295 } 295 }
296 296
297 virtual void DidFail(base::PlatformFileError error_code) OVERRIDE { 297 virtual void DidFail(base::PlatformFileError error_code) OVERRIDE {
298 base::PlatformFile invalid_file = base::kInvalidPlatformFileValue; 298 base::PlatformFile invalid_file = base::kInvalidPlatformFileValue;
(...skipping 1351 matching lines...) Expand 10 before | Expand all | Expand 10 after
1650 should_close_source); 1650 should_close_source);
1651 } 1651 }
1652 1652
1653 bool PepperPluginDelegateImpl::IsRunningInProcess(PP_Instance instance) const { 1653 bool PepperPluginDelegateImpl::IsRunningInProcess(PP_Instance instance) const {
1654 RendererPpapiHostImpl* host = 1654 RendererPpapiHostImpl* host =
1655 RendererPpapiHostImpl::GetForPPInstance(instance); 1655 RendererPpapiHostImpl::GetForPPInstance(instance);
1656 return host && host->IsRunningInProcess(); 1656 return host && host->IsRunningInProcess();
1657 } 1657 }
1658 1658
1659 } // namespace content 1659 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698