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

Side by Side Diff: components/variations/service/ui_string_overrider.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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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_VARIATIONS_SERVICE_UI_STRING_OVERRIDER_H_ 5 #ifndef COMPONENTS_VARIATIONS_SERVICE_UI_STRING_OVERRIDER_H_
6 #define COMPONENTS_VARIATIONS_SERVICE_UI_STRING_OVERRIDER_H_ 6 #define COMPONENTS_VARIATIONS_SERVICE_UI_STRING_OVERRIDER_H_
7 7
8 #include "base/basictypes.h" 8 #include <stddef.h>
9 #include <stdint.h>
10
9 #include "base/macros.h" 11 #include "base/macros.h"
10 #include "base/strings/string16.h" 12 #include "base/strings/string16.h"
11 13
12 namespace variations { 14 namespace variations {
13 15
14 // Provides a mapping from hashes of generated resource names to their IDs. The 16 // Provides a mapping from hashes of generated resource names to their IDs. The
15 // mapping is provided by the embedder as two arrays |resource_hashes|, a sorted 17 // mapping is provided by the embedder as two arrays |resource_hashes|, a sorted
16 // array of resource name hashes, and |resource_indices| an array of resource 18 // array of resource name hashes, and |resource_indices| an array of resource
17 // indices in the same order. 19 // indices in the same order.
18 // 20 //
(...skipping 29 matching lines...) Expand all
48 const uint32_t* const resource_hashes_; 50 const uint32_t* const resource_hashes_;
49 const int* const resource_indices_; 51 const int* const resource_indices_;
50 size_t const num_resources_; 52 size_t const num_resources_;
51 53
52 DISALLOW_ASSIGN(UIStringOverrider); 54 DISALLOW_ASSIGN(UIStringOverrider);
53 }; 55 };
54 56
55 } // namespace variations 57 } // namespace variations
56 58
57 #endif // COMPONENTS_VARIATIONS_SERVICE_UI_STRING_OVERRIDER_H_ 59 #endif // COMPONENTS_VARIATIONS_SERVICE_UI_STRING_OVERRIDER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698