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

Unified Diff: ios/chrome/browser/voice/speech_input_locale_config_impl.h

Issue 2436873003: Forward declare test class as friend of SpeechInputLocaleConfigImpl. (Closed)
Patch Set: Created 4 years, 2 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/chrome/browser/voice/speech_input_locale_config_impl.h
diff --git a/ios/chrome/browser/voice/speech_input_locale_config_impl.h b/ios/chrome/browser/voice/speech_input_locale_config_impl.h
index bd942c13bf70d9b973b2b2d5445745e4ff8f4521..64b85928bf77d95986f62811e271d46c2b47aa8f 100644
--- a/ios/chrome/browser/voice/speech_input_locale_config_impl.h
+++ b/ios/chrome/browser/voice/speech_input_locale_config_impl.h
@@ -10,6 +10,8 @@
#include "base/memory/singleton.h"
#include "ios/chrome/browser/voice/speech_input_locale_config.h"
+class SpeechInputLocaleConfigImplTest;
+
namespace base {
template <typename T>
struct DefaultSingletonTraits;
@@ -61,6 +63,7 @@ class SpeechInputLocaleConfigImpl : public SpeechInputLocaleConfig {
void InitializeTextToSpeechLangauges();
friend struct base::DefaultSingletonTraits<SpeechInputLocaleConfigImpl>;
+ friend class ::SpeechInputLocaleConfigImplTest;
// The list of available speech input locales.
std::vector<SpeechInputLocale> available_locales_;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698