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

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

Issue 10067021: Postpone setting up file handler's file permissions if handler is running lazy background page. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 8 years, 8 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 #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 #pragma once 7 #pragma once
8 8
9 #include <map> 9 #include <map>
10 #include <string> 10 #include <string>
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 private: 97 private:
98 DECLARE_EXTENSION_FUNCTION_NAME("fileBrowserPrivate.getFileTasks"); 98 DECLARE_EXTENSION_FUNCTION_NAME("fileBrowserPrivate.getFileTasks");
99 }; 99 };
100 100
101 // Implements the chrome.fileBrowserPrivate.executeTask method. 101 // Implements the chrome.fileBrowserPrivate.executeTask method.
102 class ExecuteTasksFileBrowserFunction : public AsyncExtensionFunction { 102 class ExecuteTasksFileBrowserFunction : public AsyncExtensionFunction {
103 public: 103 public:
104 ExecuteTasksFileBrowserFunction(); 104 ExecuteTasksFileBrowserFunction();
105 virtual ~ExecuteTasksFileBrowserFunction(); 105 virtual ~ExecuteTasksFileBrowserFunction();
106 106
107 void OnTaskExecuted(bool success);
108
107 protected: 109 protected:
108 // AsyncExtensionFunction overrides. 110 // AsyncExtensionFunction overrides.
109 virtual bool RunImpl() OVERRIDE; 111 virtual bool RunImpl() OVERRIDE;
110 112
111 private: 113 private:
112 class Executor; 114 class Executor;
113 115
114 DECLARE_EXTENSION_FUNCTION_NAME("fileBrowserPrivate.executeTask"); 116 DECLARE_EXTENSION_FUNCTION_NAME("fileBrowserPrivate.executeTask");
115 }; 117 };
116 118
(...skipping 461 matching lines...) Expand 10 before | Expand all | Expand 10 after
578 580
579 // Write setting value. 581 // Write setting value.
580 class SetGDataPreferencesFunction : public SyncExtensionFunction { 582 class SetGDataPreferencesFunction : public SyncExtensionFunction {
581 protected: 583 protected:
582 virtual bool RunImpl() OVERRIDE; 584 virtual bool RunImpl() OVERRIDE;
583 private: 585 private:
584 DECLARE_EXTENSION_FUNCTION_NAME("fileBrowserPrivate.setGDataPreferences"); 586 DECLARE_EXTENSION_FUNCTION_NAME("fileBrowserPrivate.setGDataPreferences");
585 }; 587 };
586 588
587 #endif // CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_BROWSER_PRIVATE_API_H_ 589 #endif // CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_BROWSER_PRIVATE_API_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698