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

Side by Side Diff: chrome/browser/chromeos/extensions/file_browser_private_api.h

Issue 10823273: Integrate external mount points to IsolatedContext (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: remove too strict DCHECK Created 8 years, 4 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
« no previous file with comments | « no previous file | chrome/browser/chromeos/extensions/file_browser_private_api.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #ifndef CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_BROWSER_PRIVATE_API_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_BROWSER_PRIVATE_API_H_
6 #define CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_BROWSER_PRIVATE_API_H_ 6 #define CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_BROWSER_PRIVATE_API_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 #include <queue> 10 #include <queue>
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 virtual bool PerformFileWatchOperation( 65 virtual bool PerformFileWatchOperation(
66 scoped_refptr<FileBrowserEventRouter> event_router, 66 scoped_refptr<FileBrowserEventRouter> event_router,
67 const FilePath& local_path, const FilePath& virtual_path, 67 const FilePath& local_path, const FilePath& virtual_path,
68 const std::string& extension_id) = 0; 68 const std::string& extension_id) = 0;
69 69
70 // AsyncExtensionFunction overrides. 70 // AsyncExtensionFunction overrides.
71 virtual bool RunImpl() OVERRIDE; 71 virtual bool RunImpl() OVERRIDE;
72 72
73 private: 73 private:
74 bool GetLocalFilePath( 74 bool GetLocalFilePath(
75 scoped_refptr<fileapi::FileSystemContext> file_system_context,
76 const GURL& file_url, FilePath* local_path, FilePath* virtual_path); 75 const GURL& file_url, FilePath* local_path, FilePath* virtual_path);
77 void RespondOnUIThread(bool success); 76 void RespondOnUIThread(bool success);
78 void RunFileWatchOperationOnFileThread( 77 void RunFileWatchOperationOnFileThread(
79 scoped_refptr<fileapi::FileSystemContext> file_system_context, 78 scoped_refptr<fileapi::FileSystemContext> file_system_context,
80 scoped_refptr<FileBrowserEventRouter> event_router, 79 scoped_refptr<FileBrowserEventRouter> event_router,
81 const GURL& file_url, 80 const GURL& file_url,
82 const std::string& extension_id); 81 const std::string& extension_id);
83 }; 82 };
84 83
85 // Implements the chrome.fileBrowserPrivate.addFileWatch method. 84 // Implements the chrome.fileBrowserPrivate.addFileWatch method.
(...skipping 616 matching lines...) Expand 10 before | Expand all | Expand 10 after
702 DECLARE_EXTENSION_FUNCTION_NAME( 701 DECLARE_EXTENSION_FUNCTION_NAME(
703 "fileBrowserPrivate.requestDirectoryRefresh"); 702 "fileBrowserPrivate.requestDirectoryRefresh");
704 703
705 protected: 704 protected:
706 virtual ~RequestDirectoryRefreshFunction() {} 705 virtual ~RequestDirectoryRefreshFunction() {}
707 706
708 virtual bool RunImpl() OVERRIDE; 707 virtual bool RunImpl() OVERRIDE;
709 }; 708 };
710 709
711 #endif // CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_BROWSER_PRIVATE_API_H_ 710 #endif // CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_BROWSER_PRIVATE_API_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/chromeos/extensions/file_browser_private_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698