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

Side by Side Diff: chrome/browser/extensions/api/app/app_api.h

Issue 10713007: Make isolated file system works for a device root (e.g. X:\\) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased Created 8 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | chrome/browser/extensions/api/app/app_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_EXTENSIONS_API_APP_APP_API_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_API_APP_APP_API_H_
6 #define CHROME_BROWSER_EXTENSIONS_API_APP_APP_API_H_ 6 #define CHROME_BROWSER_EXTENSIONS_API_APP_APP_API_H_
7 #pragma once 7 #pragma once
8 8
9 #include "chrome/browser/extensions/extension_function.h" 9 #include "chrome/browser/extensions/extension_function.h"
10 10
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 // } 57 // }
58 58
59 // launchData.intent.data and launchData.intent.postResults are created in a 59 // launchData.intent.data and launchData.intent.postResults are created in a
60 // custom dispatch event in javascript. The FileEntry is created from 60 // custom dispatch event in javascript. The FileEntry is created from
61 // |file_system_id| and |base_name|. 61 // |file_system_id| and |base_name|.
62 static void DispatchOnLaunchedEventWithFileEntry( 62 static void DispatchOnLaunchedEventWithFileEntry(
63 Profile* profile, 63 Profile* profile,
64 const Extension* extension, 64 const Extension* extension,
65 const string16& action, 65 const string16& action,
66 const std::string& file_system_id, 66 const std::string& file_system_id,
67 const FilePath& base_name); 67 const std::string& base_name);
68 68
69 // Dispatches the onLaunched event to the app implemented by |extension| 69 // Dispatches the onLaunched event to the app implemented by |extension|
70 // running in |profile|. The event parameter launchData will have a field 70 // running in |profile|. The event parameter launchData will have a field
71 // called intent, populated by |web_intent_data|. 71 // called intent, populated by |web_intent_data|.
72 static void DispatchOnLaunchedEventWithWebIntent( 72 static void DispatchOnLaunchedEventWithWebIntent(
73 Profile* profile, 73 Profile* profile,
74 const Extension* extension, 74 const Extension* extension,
75 const webkit_glue::WebIntentData web_intent_data); 75 const webkit_glue::WebIntentData web_intent_data);
76 }; 76 };
77 77
78 } // namespace extensions 78 } // namespace extensions
79 79
80 #endif // CHROME_BROWSER_EXTENSIONS_API_APP_APP_API_H_ 80 #endif // CHROME_BROWSER_EXTENSIONS_API_APP_APP_API_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/extensions/api/app/app_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698