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

Side by Side Diff: components/font_service/public/cpp/font_loader.h

Issue 1546143002: Switch to standard integer types in components/, part 1 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_FONT_SERVICE_PUBLIC_CPP_FONT_LOADER_H_ 5 #ifndef COMPONENTS_FONT_SERVICE_PUBLIC_CPP_FONT_LOADER_H_
6 #define COMPONENTS_FONT_SERVICE_PUBLIC_CPP_FONT_LOADER_H_ 6 #define COMPONENTS_FONT_SERVICE_PUBLIC_CPP_FONT_LOADER_H_
7 7
8 #include <stdint.h>
9
8 #include "base/containers/hash_tables.h" 10 #include "base/containers/hash_tables.h"
11 #include "base/macros.h"
9 #include "base/memory/ref_counted.h" 12 #include "base/memory/ref_counted.h"
10 #include "base/synchronization/lock.h" 13 #include "base/synchronization/lock.h"
11 #include "components/font_service/public/cpp/mapped_font_file.h" 14 #include "components/font_service/public/cpp/mapped_font_file.h"
12 #include "components/font_service/public/interfaces/font_service.mojom.h" 15 #include "components/font_service/public/interfaces/font_service.mojom.h"
13 #include "third_party/skia/include/core/SkStream.h" 16 #include "third_party/skia/include/core/SkStream.h"
14 #include "third_party/skia/include/core/SkTypeface.h" 17 #include "third_party/skia/include/core/SkTypeface.h"
15 #include "third_party/skia/include/ports/SkFontConfigInterface.h" 18 #include "third_party/skia/include/ports/SkFontConfigInterface.h"
16 19
17 namespace mojo { 20 namespace mojo {
18 class ApplicationImpl; 21 class ApplicationImpl;
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 66
64 // Maps font identity ID to the memory-mapped file with font data. 67 // Maps font identity ID to the memory-mapped file with font data.
65 base::hash_map<uint32_t, internal::MappedFontFile*> mapped_font_files_; 68 base::hash_map<uint32_t, internal::MappedFontFile*> mapped_font_files_;
66 69
67 DISALLOW_COPY_AND_ASSIGN(FontLoader); 70 DISALLOW_COPY_AND_ASSIGN(FontLoader);
68 }; 71 };
69 72
70 } // namespace font_service 73 } // namespace font_service
71 74
72 #endif // COMPONENTS_FONT_SERVICE_PUBLIC_CPP_FONT_LOADER_H_ 75 #endif // COMPONENTS_FONT_SERVICE_PUBLIC_CPP_FONT_LOADER_H_
OLDNEW
« no previous file with comments | « components/font_service/font_service_app.cc ('k') | components/font_service/public/cpp/font_service_thread.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698