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

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

Issue 820673004: json_schema_compiler: Use std::vector<char> for binary values. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@simplify_json_schema
Patch Set: Fix merge error. Created 5 years, 11 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
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_STUB_BRAILLE_CONTR OLLER_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_API_BRAILLE_DISPLAY_PRIVATE_STUB_BRAILLE_CONTR OLLER_H_
6 #define CHROME_BROWSER_EXTENSIONS_API_BRAILLE_DISPLAY_PRIVATE_STUB_BRAILLE_CONTR OLLER_H_ 6 #define CHROME_BROWSER_EXTENSIONS_API_BRAILLE_DISPLAY_PRIVATE_STUB_BRAILLE_CONTR OLLER_H_
7 7
8 #include "chrome/browser/extensions/api/braille_display_private/braille_controll er.h" 8 #include "chrome/browser/extensions/api/braille_display_private/braille_controll er.h"
9 9
10 namespace extensions { 10 namespace extensions {
11 namespace api { 11 namespace api {
12 namespace braille_display_private { 12 namespace braille_display_private {
13 13
14 // Stub implementation for the BrailleController interface. 14 // Stub implementation for the BrailleController interface.
15 class StubBrailleController : public BrailleController { 15 class StubBrailleController : public BrailleController {
16 public: 16 public:
17 StubBrailleController(); 17 StubBrailleController();
18 scoped_ptr<DisplayState> GetDisplayState() override; 18 scoped_ptr<DisplayState> GetDisplayState() override;
19 void WriteDots(const std::string& cells) override; 19 void WriteDots(const std::vector<char>& cells) override;
20 void AddObserver(BrailleObserver* observer) override; 20 void AddObserver(BrailleObserver* observer) override;
21 void RemoveObserver(BrailleObserver* observer) override; 21 void RemoveObserver(BrailleObserver* observer) override;
22 }; 22 };
23 23
24 } // namespace braille_display_private 24 } // namespace braille_display_private
25 } // namespace api 25 } // namespace api
26 } // namespace extensions 26 } // namespace extensions
27 27
28 #endif // CHROME_BROWSER_EXTENSIONS_API_BRAILLE_DISPLAY_PRIVATE_STUB_BRAILLE_CO NTROLLER_H_ 28 #endif // CHROME_BROWSER_EXTENSIONS_API_BRAILLE_DISPLAY_PRIVATE_STUB_BRAILLE_CO NTROLLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698