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

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

Issue 10804026: Fix open dialog not remembering last opened folder on drive (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase 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>
11 #include <vector> 11 #include <vector>
12 12
13 #include "base/memory/ref_counted.h" 13 #include "base/memory/ref_counted.h"
14 #include "base/memory/scoped_ptr.h" 14 #include "base/memory/scoped_ptr.h"
15 #include "base/platform_file.h" 15 #include "base/platform_file.h"
16 #include "chrome/browser/chromeos/extensions/file_browser_event_router.h" 16 #include "chrome/browser/chromeos/extensions/file_browser_event_router.h"
17 #include "chrome/browser/chromeos/gdata/gdata_cache.h" 17 #include "chrome/browser/chromeos/gdata/gdata_cache.h"
18 #include "chrome/browser/chromeos/gdata/gdata_errorcode.h" 18 #include "chrome/browser/chromeos/gdata/gdata_errorcode.h"
19 #include "chrome/browser/extensions/extension_function.h" 19 #include "chrome/browser/extensions/extension_function.h"
20 #include "chrome/browser/prefs/pref_service.h" 20 #include "chrome/browser/prefs/pref_service.h"
21 #include "googleurl/src/url_util.h" 21 #include "googleurl/src/url_util.h"
22 22
23 class GURL; 23 class GURL;
24 24
25 namespace fileapi { 25 namespace fileapi {
26 class FileSystemContext; 26 class FileSystemContext;
27 } 27 }
28 28
29 namespace gdata {
30 struct SearchResultInfo;
31 }
32
29 namespace ui { 33 namespace ui {
30 struct SelectedFileInfo; 34 struct SelectedFileInfo;
31 } 35 }
32 36
33 namespace gdata {
34 struct SearchResultInfo;
35 }
36
37 // Implements the chrome.fileBrowserPrivate.requestLocalFileSystem method. 37 // Implements the chrome.fileBrowserPrivate.requestLocalFileSystem method.
38 class RequestLocalFileSystemFunction : public AsyncExtensionFunction { 38 class RequestLocalFileSystemFunction : public AsyncExtensionFunction {
39 public: 39 public:
40 DECLARE_EXTENSION_FUNCTION_NAME("fileBrowserPrivate.requestLocalFileSystem"); 40 DECLARE_EXTENSION_FUNCTION_NAME("fileBrowserPrivate.requestLocalFileSystem");
41 41
42 protected: 42 protected:
43 virtual ~RequestLocalFileSystemFunction() {} 43 virtual ~RequestLocalFileSystemFunction() {}
44 44
45 // AsyncExtensionFunction overrides. 45 // AsyncExtensionFunction overrides.
46 virtual bool RunImpl() OVERRIDE; 46 virtual bool RunImpl() OVERRIDE;
(...skipping 646 matching lines...) Expand 10 before | Expand all | Expand 10 after
693 DECLARE_EXTENSION_FUNCTION_NAME( 693 DECLARE_EXTENSION_FUNCTION_NAME(
694 "fileBrowserPrivate.requestDirectoryRefresh"); 694 "fileBrowserPrivate.requestDirectoryRefresh");
695 695
696 protected: 696 protected:
697 virtual ~RequestDirectoryRefreshFunction() {} 697 virtual ~RequestDirectoryRefreshFunction() {}
698 698
699 virtual bool RunImpl() OVERRIDE; 699 virtual bool RunImpl() OVERRIDE;
700 }; 700 };
701 701
702 #endif // CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_BROWSER_PRIVATE_API_H_ 702 #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