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

Side by Side Diff: chrome/browser/translate/chrome_translate_client.h

Issue 2530053003: chrome: Cleanup class/struct forward declarations (Closed)
Patch Set: Rebase + address comment Created 4 years 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_TRANSLATE_CHROME_TRANSLATE_CLIENT_H_ 5 #ifndef CHROME_BROWSER_TRANSLATE_CHROME_TRANSLATE_CLIENT_H_
6 #define CHROME_BROWSER_TRANSLATE_CHROME_TRANSLATE_CLIENT_H_ 6 #define CHROME_BROWSER_TRANSLATE_CHROME_TRANSLATE_CLIENT_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <string> 9 #include <string>
10 10
11 #include "base/macros.h" 11 #include "base/macros.h"
12 #include "chrome/browser/ui/translate/translate_bubble_model.h" 12 #include "chrome/browser/ui/translate/translate_bubble_model.h"
13 #include "components/translate/content/browser/content_translate_driver.h" 13 #include "components/translate/content/browser/content_translate_driver.h"
14 #include "components/translate/core/browser/translate_client.h" 14 #include "components/translate/core/browser/translate_client.h"
15 #include "components/translate/core/browser/translate_step.h" 15 #include "components/translate/core/browser/translate_step.h"
16 #include "components/translate/core/common/translate_errors.h" 16 #include "components/translate/core/common/translate_errors.h"
17 #include "content/public/browser/web_contents_observer.h" 17 #include "content/public/browser/web_contents_observer.h"
18 #include "content/public/browser/web_contents_user_data.h" 18 #include "content/public/browser/web_contents_user_data.h"
19 19
20 namespace content { 20 namespace content {
21 class BrowserContext; 21 class BrowserContext;
22 class WebContents; 22 class WebContents;
23 } // namespace content 23 } // namespace content
24 24
25 namespace test {
26 class ScopedCLDDynamicDataHarness;
27 } // namespace test
28
29 class PrefService; 25 class PrefService;
30 26
31 namespace translate { 27 namespace translate {
32 class LanguageModel; 28 class LanguageModel;
33 class LanguageState; 29 class LanguageState;
34 class TranslateAcceptLanguages; 30 class TranslateAcceptLanguages;
35 class TranslatePrefs; 31 class TranslatePrefs;
36 class TranslateManager; 32 class TranslateManager;
37 } // namespace translate 33 } // namespace translate
38 34
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
127 std::unique_ptr<translate::TranslateManager> translate_manager_; 123 std::unique_ptr<translate::TranslateManager> translate_manager_;
128 124
129 // Model to be notified about detected language of every page visited. Not 125 // Model to be notified about detected language of every page visited. Not
130 // owned here. 126 // owned here.
131 translate::LanguageModel* language_model_; 127 translate::LanguageModel* language_model_;
132 128
133 DISALLOW_COPY_AND_ASSIGN(ChromeTranslateClient); 129 DISALLOW_COPY_AND_ASSIGN(ChromeTranslateClient);
134 }; 130 };
135 131
136 #endif // CHROME_BROWSER_TRANSLATE_CHROME_TRANSLATE_CLIENT_H_ 132 #endif // CHROME_BROWSER_TRANSLATE_CHROME_TRANSLATE_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698