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

Side by Side Diff: chrome/browser/chromeos/file_system_provider/provided_file_system_defs.h

Issue 1093383002: [WIP] Provided file system from NACL. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Moved several modules to chromeos folder. Created 5 years, 5 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
OLDNEW
(Empty)
1 // Copyright 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4 #ifndef CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_PROVIDED_FILE_SYSTEM_DEFS_H _
5 #define CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_PROVIDED_FILE_SYSTEM_DEFS_H _
6
7 class Profile;
8 namespace extensions {
9 class EventRouter;
10 } // namespace extensions
11
12 // source types for the provided file systems
13 namespace chromeos {
14
15 namespace file_system_provider {
16
17 class PluginOperationRouter;
18
19 typedef enum Source_Type { extension = 0, plugin } Source_Type;
20
21 struct ExtensionDestination {
22 typedef extensions::EventRouter EventRouterType;
23 EventRouterType* Get(Profile*);
24 };
25
26 struct PluginDestination {
27 typedef chromeos::file_system_provider::PluginOperationRouter EventRouterType;
28 EventRouterType* Get(Profile*);
29 };
30
31 #define FOR_EACH_DESTINATION_SPECIALIZE(TARGET) \
32 template class TARGET<ExtensionDestination>; \
33 template class TARGET<PluginDestination>;
34
35
36 } // namespace file_system_provider
37 } // namespace chromeos
38 #endif // CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_PROVIDED_FILE_SYSTEM_DEF S_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698