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

Side by Side Diff: extensions/common/manifest_handlers/default_locale_handler.h

Issue 1543053002: Switch to standard integer types in extensions/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@int-extensions-browser
Patch Set: Created 5 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 (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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 EXTENSIONS_COMMON_MANIFEST_HANDLERS_DEFAULT_LOCALE_HANDLER_H_ 5 #ifndef EXTENSIONS_COMMON_MANIFEST_HANDLERS_DEFAULT_LOCALE_HANDLER_H_
6 #define EXTENSIONS_COMMON_MANIFEST_HANDLERS_DEFAULT_LOCALE_HANDLER_H_ 6 #define EXTENSIONS_COMMON_MANIFEST_HANDLERS_DEFAULT_LOCALE_HANDLER_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/macros.h"
10 #include "extensions/common/extension.h" 11 #include "extensions/common/extension.h"
11 #include "extensions/common/manifest_handler.h" 12 #include "extensions/common/manifest_handler.h"
12 13
13 namespace extensions { 14 namespace extensions {
14 15
15 // A structure to hold the locale information for an extension. 16 // A structure to hold the locale information for an extension.
16 struct LocaleInfo : public Extension::ManifestData { 17 struct LocaleInfo : public Extension::ManifestData {
17 // Default locale for fall back. Can be empty if extension is not localized. 18 // Default locale for fall back. Can be empty if extension is not localized.
18 std::string default_locale; 19 std::string default_locale;
19 20
(...skipping 17 matching lines...) Expand all
37 38
38 private: 39 private:
39 const std::vector<std::string> Keys() const override; 40 const std::vector<std::string> Keys() const override;
40 41
41 DISALLOW_COPY_AND_ASSIGN(DefaultLocaleHandler); 42 DISALLOW_COPY_AND_ASSIGN(DefaultLocaleHandler);
42 }; 43 };
43 44
44 } // namespace extensions 45 } // namespace extensions
45 46
46 #endif // EXTENSIONS_COMMON_MANIFEST_HANDLERS_DEFAULT_LOCALE_HANDLER_H_ 47 #endif // EXTENSIONS_COMMON_MANIFEST_HANDLERS_DEFAULT_LOCALE_HANDLER_H_
OLDNEW
« no previous file with comments | « extensions/common/manifest_handlers/csp_info.h ('k') | extensions/common/manifest_handlers/externally_connectable.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698