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

Side by Side Diff: chrome/browser/font_family_cache.cc

Issue 1550593002: Switch to standard integer types in chrome/browser/, part 2 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 | « chrome/browser/font_family_cache.h ('k') | chrome/browser/font_family_cache_unittest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 #include "chrome/browser/font_family_cache.h" 5 #include "chrome/browser/font_family_cache.h"
6 6
7 #include <stddef.h>
8
7 #include <map> 9 #include <map>
8 10
9 #include "base/prefs/pref_service.h" 11 #include "base/prefs/pref_service.h"
10 #include "base/strings/stringprintf.h" 12 #include "base/strings/stringprintf.h"
11 #include "base/strings/utf_string_conversions.h" 13 #include "base/strings/utf_string_conversions.h"
12 #include "chrome/browser/chrome_notification_types.h" 14 #include "chrome/browser/chrome_notification_types.h"
13 #include "chrome/browser/profiles/profile.h" 15 #include "chrome/browser/profiles/profile.h"
14 #include "chrome/common/pref_font_webkit_names.h" 16 #include "chrome/common/pref_font_webkit_names.h"
15 #include "chrome/common/pref_names.h" 17 #include "chrome/common/pref_names.h"
16 #include "content/public/browser/notification_source.h" 18 #include "content/public/browser/notification_source.h"
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after
125 } 127 }
126 } 128 }
127 } 129 }
128 130
129 void FontFamilyCache::Observe(int type, 131 void FontFamilyCache::Observe(int type,
130 const content::NotificationSource& source, 132 const content::NotificationSource& source,
131 const content::NotificationDetails& details) { 133 const content::NotificationDetails& details) {
132 DCHECK_EQ(chrome::NOTIFICATION_PROFILE_DESTROYED, type); 134 DCHECK_EQ(chrome::NOTIFICATION_PROFILE_DESTROYED, type);
133 profile_pref_registrar_.RemoveAll(); 135 profile_pref_registrar_.RemoveAll();
134 } 136 }
OLDNEW
« no previous file with comments | « chrome/browser/font_family_cache.h ('k') | chrome/browser/font_family_cache_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698