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

Side by Side Diff: chrome/installer/util/language_selector.h

Issue 1548153002: Switch to standard integer types in chrome/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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 (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 // This file declares a helper class for selecting a supported language from a 5 // This file declares a helper class for selecting a supported language from a
6 // set of candidates. 6 // set of candidates.
7 7
8 #ifndef CHROME_INSTALLER_UTIL_LANGUAGE_SELECTOR_H_ 8 #ifndef CHROME_INSTALLER_UTIL_LANGUAGE_SELECTOR_H_
9 #define CHROME_INSTALLER_UTIL_LANGUAGE_SELECTOR_H_ 9 #define CHROME_INSTALLER_UTIL_LANGUAGE_SELECTOR_H_
10 10
11 #include <string> 11 #include <string>
12 #include <vector> 12 #include <vector>
13 13
14 #include "base/basictypes.h" 14 #include "base/macros.h"
15 15
16 namespace installer { 16 namespace installer {
17 17
18 // A helper class for selecting a supported language from a set of candidates. 18 // A helper class for selecting a supported language from a set of candidates.
19 // By default, the candidates are retrieved from the operating system. 19 // By default, the candidates are retrieved from the operating system.
20 class LanguageSelector { 20 class LanguageSelector {
21 public: 21 public:
22 // Default constructor will select from the set of languages supported by the 22 // Default constructor will select from the set of languages supported by the
23 // operating system. 23 // operating system.
24 LanguageSelector(); 24 LanguageSelector();
(...skipping 25 matching lines...) Expand all
50 50
51 std::wstring matched_candidate_; 51 std::wstring matched_candidate_;
52 int offset_; 52 int offset_;
53 53
54 DISALLOW_COPY_AND_ASSIGN(LanguageSelector); 54 DISALLOW_COPY_AND_ASSIGN(LanguageSelector);
55 }; 55 };
56 56
57 } // namespace installer. 57 } // namespace installer.
58 58
59 #endif // CHROME_INSTALLER_UTIL_LANGUAGE_SELECTOR_H_ 59 #endif // CHROME_INSTALLER_UTIL_LANGUAGE_SELECTOR_H_
OLDNEW
« no previous file with comments | « chrome/installer/util/installer_state_unittest.cc ('k') | chrome/installer/util/language_selector.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698