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

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: review fix and mac build fix 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 275 matching lines...) Expand 10 before | Expand all | Expand 10 after
286 const base::PlatformFileInfo& file_info, 286 const base::PlatformFileInfo& file_info,
287 const base::FilePath& platform_path) OVERRIDE { 287 const base::FilePath& platform_path) OVERRIDE {
288 NOTREACHED(); 288 NOTREACHED();
289 } 289 }
290 virtual void DidCreateSnapshotFile( 290 virtual void DidCreateSnapshotFile(
291 const base::PlatformFileInfo& file_info, 291 const base::PlatformFileInfo& file_info,
292 const base::FilePath& platform_path) OVERRIDE { 292 const base::FilePath& platform_path) OVERRIDE {
293 NOTREACHED(); 293 NOTREACHED();
294 } 294 }
295 virtual void DidReadDirectory( 295 virtual void DidReadDirectory(
296 const std::vector<base::FileUtilProxy::Entry>& entries, 296 const std::vector<fileapi::FileSystemOperation::Entry>& entries,
297 bool has_more) OVERRIDE { 297 bool has_more) OVERRIDE {
298 NOTREACHED(); 298 NOTREACHED();
299 } 299 }
300 virtual void DidOpenFileSystem(const std::string& name, 300 virtual void DidOpenFileSystem(const std::string& name,
301 const GURL& root) OVERRIDE { 301 const GURL& root) OVERRIDE {
302 NOTREACHED(); 302 NOTREACHED();
303 } 303 }
304 304
305 virtual void DidFail(base::PlatformFileError error_code) OVERRIDE { 305 virtual void DidFail(base::PlatformFileError error_code) OVERRIDE {
306 base::PlatformFile invalid_file = base::kInvalidPlatformFileValue; 306 base::PlatformFile invalid_file = base::kInvalidPlatformFileValue;
(...skipping 1409 matching lines...) Expand 10 before | Expand all | Expand 10 after
1716 should_close_source); 1716 should_close_source);
1717 } 1717 }
1718 1718
1719 bool PepperPluginDelegateImpl::IsRunningInProcess(PP_Instance instance) const { 1719 bool PepperPluginDelegateImpl::IsRunningInProcess(PP_Instance instance) const {
1720 RendererPpapiHostImpl* host = 1720 RendererPpapiHostImpl* host =
1721 RendererPpapiHostImpl::GetForPPInstance(instance); 1721 RendererPpapiHostImpl::GetForPPInstance(instance);
1722 return host && host->IsRunningInProcess(); 1722 return host && host->IsRunningInProcess();
1723 } 1723 }
1724 1724
1725 } // namespace content 1725 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698