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

Side by Side Diff: chrome/browser/extensions/api/braille_display_private/braille_display_private_api.h

Issue 177003015: Pull AsyncApiFunction out of src/chrome (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase for storage_api Created 6 years, 9 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_BRAILLE_DISPLAY_PRIVATE_BRAILLE_DISPLAY_PR IVATE_API_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_API_BRAILLE_DISPLAY_PRIVATE_BRAILLE_DISPLAY_PR IVATE_API_H_
6 #define CHROME_BROWSER_EXTENSIONS_API_BRAILLE_DISPLAY_PRIVATE_BRAILLE_DISPLAY_PR IVATE_API_H_ 6 #define CHROME_BROWSER_EXTENSIONS_API_BRAILLE_DISPLAY_PRIVATE_BRAILLE_DISPLAY_PR IVATE_API_H_
7 7
8 #include "base/scoped_observer.h" 8 #include "base/scoped_observer.h"
9 #include "chrome/browser/extensions/api/api_function.h"
10 #include "chrome/browser/extensions/api/braille_display_private/braille_controll er.h" 9 #include "chrome/browser/extensions/api/braille_display_private/braille_controll er.h"
11 #include "chrome/browser/extensions/api/profile_keyed_api_factory.h" 10 #include "chrome/browser/extensions/api/profile_keyed_api_factory.h"
12 #include "chrome/common/extensions/api/braille_display_private.h" 11 #include "chrome/common/extensions/api/braille_display_private.h"
12 #include "extensions/browser/api/async_api_function.h"
13 #include "extensions/browser/event_router.h" 13 #include "extensions/browser/event_router.h"
14 14
15 class Profile;
16
15 namespace extensions { 17 namespace extensions {
16 namespace api { 18 namespace api {
17 namespace braille_display_private { 19 namespace braille_display_private {
18 class BrailleDisplayPrivateAPIUserTest; 20 class BrailleDisplayPrivateAPIUserTest;
19 } // namespace braille_display_private 21 } // namespace braille_display_private
20 } // namespace api 22 } // namespace api
21 23
22 // Implementation of the chrome.brailleDisplayPrivate API. 24 // Implementation of the chrome.brailleDisplayPrivate API.
23 class BrailleDisplayPrivateAPI 25 class BrailleDisplayPrivateAPI
24 : public ProfileKeyedAPI, 26 : public ProfileKeyedAPI,
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
102 virtual bool Respond() OVERRIDE; 104 virtual bool Respond() OVERRIDE;
103 105
104 private: 106 private:
105 scoped_ptr<braille_display_private::WriteDots::Params> params_; 107 scoped_ptr<braille_display_private::WriteDots::Params> params_;
106 }; 108 };
107 109
108 } // namespace api 110 } // namespace api
109 } // namespace extensions 111 } // namespace extensions
110 112
111 #endif // CHROME_BROWSER_EXTENSIONS_API_BRAILLE_DISPLAY_PRIVATE_BRAILLE_DISPLAY _PRIVATE_API_H_ 113 #endif // CHROME_BROWSER_EXTENSIONS_API_BRAILLE_DISPLAY_PRIVATE_BRAILLE_DISPLAY _PRIVATE_API_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698