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

Side by Side Diff: components/translate/core/browser/translate_accept_languages.h

Issue 1549993003: Switch to standard integer types in components/, part 4 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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 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 COMPONENTS_TRANSLATE_CORE_BROWSER_TRANSLATE_ACCEPT_LANGUAGES_H_ 5 #ifndef COMPONENTS_TRANSLATE_CORE_BROWSER_TRANSLATE_ACCEPT_LANGUAGES_H_
6 #define COMPONENTS_TRANSLATE_CORE_BROWSER_TRANSLATE_ACCEPT_LANGUAGES_H_ 6 #define COMPONENTS_TRANSLATE_CORE_BROWSER_TRANSLATE_ACCEPT_LANGUAGES_H_
7 7
8 #include <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 10
11 #include "base/basictypes.h" 11 #include "base/macros.h"
12 #include "base/prefs/pref_change_registrar.h" 12 #include "base/prefs/pref_change_registrar.h"
13 13
14 class PrefService; 14 class PrefService;
15 15
16 namespace translate { 16 namespace translate {
17 17
18 // TranslateAcceptLanguages tracks the value of the "Accept-Language" HTTP 18 // TranslateAcceptLanguages tracks the value of the "Accept-Language" HTTP
19 // header. 19 // header.
20 class TranslateAcceptLanguages { 20 class TranslateAcceptLanguages {
21 public: 21 public:
(...skipping 25 matching lines...) Expand all
47 47
48 // Path of accept languages preference. 48 // Path of accept languages preference.
49 const std::string accept_languages_pref_; 49 const std::string accept_languages_pref_;
50 50
51 DISALLOW_COPY_AND_ASSIGN(TranslateAcceptLanguages); 51 DISALLOW_COPY_AND_ASSIGN(TranslateAcceptLanguages);
52 }; 52 };
53 53
54 } // namespace translate 54 } // namespace translate
55 55
56 #endif // COMPONENTS_TRANSLATE_CORE_BROWSER_TRANSLATE_ACCEPT_LANGUAGES_H_ 56 #endif // COMPONENTS_TRANSLATE_CORE_BROWSER_TRANSLATE_ACCEPT_LANGUAGES_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698