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

Side by Side Diff: components/font_service/public/cpp/mapped_font_file.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
« no previous file with comments | « components/font_service/public/cpp/font_service_thread.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_MAPPED_FONT_FILE_H_ 5 #ifndef COMPONENTS_FONT_SERVICE_PUBLIC_CPP_MAPPED_FONT_FILE_H_
6 #define COMPONENTS_FONT_SERVICE_PUBLIC_CPP_MAPPED_FONT_FILE_H_ 6 #define COMPONENTS_FONT_SERVICE_PUBLIC_CPP_MAPPED_FONT_FILE_H_
7 7
8 #include <stdint.h>
9
8 #include "base/files/file.h" 10 #include "base/files/file.h"
9 #include "base/files/memory_mapped_file.h" 11 #include "base/files/memory_mapped_file.h"
10 #include "base/memory/ref_counted.h" 12 #include "base/memory/ref_counted.h"
11 #include "third_party/skia/include/core/SkStream.h" 13 #include "third_party/skia/include/core/SkStream.h"
12 14
13 namespace font_service { 15 namespace font_service {
14 namespace internal { 16 namespace internal {
15 17
16 // Owns the memory of the mmaped file that we get back from the font_service. 18 // Owns the memory of the mmaped file that we get back from the font_service.
17 // 19 //
(...skipping 27 matching lines...) Expand all
45 47
46 uint32_t font_id_; 48 uint32_t font_id_;
47 base::MemoryMappedFile mapped_font_file_; 49 base::MemoryMappedFile mapped_font_file_;
48 Observer* observer_; 50 Observer* observer_;
49 }; 51 };
50 52
51 } // namespace internal 53 } // namespace internal
52 } // namespace font_service 54 } // namespace font_service
53 55
54 #endif // COMPONENTS_FONT_SERVICE_PUBLIC_CPP_MAPPED_FONT_FILE_H_ 56 #endif // COMPONENTS_FONT_SERVICE_PUBLIC_CPP_MAPPED_FONT_FILE_H_
OLDNEW
« no previous file with comments | « components/font_service/public/cpp/font_service_thread.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698