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

Side by Side Diff: components/content_settings/core/browser/content_settings_pref_provider.cc

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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 "components/content_settings/core/browser/content_settings_pref_provide r.h" 5 #include "components/content_settings/core/browser/content_settings_pref_provide r.h"
6 6
7 #include <stddef.h>
8
7 #include <map> 9 #include <map>
8 #include <string> 10 #include <string>
9 #include <utility> 11 #include <utility>
10 12
11 #include "base/auto_reset.h" 13 #include "base/auto_reset.h"
12 #include "base/bind.h" 14 #include "base/bind.h"
13 #include "base/memory/scoped_ptr.h" 15 #include "base/memory/scoped_ptr.h"
14 #include "base/metrics/histogram_macros.h" 16 #include "base/metrics/histogram_macros.h"
15 #include "base/prefs/pref_registry.h" 17 #include "base/prefs/pref_registry.h"
16 #include "base/prefs/pref_service.h" 18 #include "base/prefs/pref_service.h"
(...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after
198 content_type, 200 content_type,
199 resource_identifier); 201 resource_identifier);
200 } 202 }
201 203
202 void PrefProvider::DiscardObsoletePreferences() { 204 void PrefProvider::DiscardObsoletePreferences() {
203 prefs_->ClearPref(kObsoleteMetroSwitchToDesktopExceptions); 205 prefs_->ClearPref(kObsoleteMetroSwitchToDesktopExceptions);
204 prefs_->ClearPref(kObsoleteMediaStreamExceptions); 206 prefs_->ClearPref(kObsoleteMediaStreamExceptions);
205 } 207 }
206 208
207 } // namespace content_settings 209 } // namespace content_settings
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698