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

Side by Side Diff: chrome/browser/chromeos/arc/tts/arc_tts_service.cc

Issue 2441563002: arc: Create intermediate directories in c/b/c/arc (Closed)
Patch Set: Re-rebase to ToT Created 4 years, 1 month 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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 #include "chrome/browser/chromeos/arc/arc_tts_service.h" 5 #include "chrome/browser/chromeos/arc/tts/arc_tts_service.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "chrome/browser/speech/tts_controller.h" 8 #include "chrome/browser/speech/tts_controller.h"
9 #include "components/arc/arc_bridge_service.h" 9 #include "components/arc/arc_bridge_service.h"
10 10
11 namespace arc { 11 namespace arc {
12 12
13 ArcTtsService::ArcTtsService(ArcBridgeService* bridge_service) 13 ArcTtsService::ArcTtsService(ArcBridgeService* bridge_service)
14 : ArcService(bridge_service), binding_(this) { 14 : ArcService(bridge_service), binding_(this) {
15 arc_bridge_service()->tts()->AddObserver(this); 15 arc_bridge_service()->tts()->AddObserver(this);
(...skipping 30 matching lines...) Expand all
46 break; 46 break;
47 case mojom::TtsEventType::ERROR: 47 case mojom::TtsEventType::ERROR:
48 chrome_event_type = TTS_EVENT_ERROR; 48 chrome_event_type = TTS_EVENT_ERROR;
49 break; 49 break;
50 } 50 }
51 TtsController::GetInstance()->OnTtsEvent(id, chrome_event_type, char_index, 51 TtsController::GetInstance()->OnTtsEvent(id, chrome_event_type, char_index,
52 error_msg); 52 error_msg);
53 } 53 }
54 54
55 } // namespace arc 55 } // namespace arc
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/arc/tts/arc_tts_service.h ('k') | chrome/browser/chromeos/arc/video/gpu_arc_video_service_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698