Chromium Code Reviews

Side by Side Diff: chrome/browser/content_settings/content_settings_internal_extension_provider.cc

Issue 1767423002: [Do not commit] Track revocations in content_settings::Observer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff |
« no previous file with comments | « no previous file | chrome/browser/content_settings/content_settings_supervised_provider.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 (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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/content_settings/content_settings_internal_extension_pr ovider.h" 5 #include "chrome/browser/content_settings/content_settings_internal_extension_pr ovider.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 8
9 #include "base/macros.h" 9 #include "base/macros.h"
10 #include "chrome/browser/pdf/pdf_extension_util.h" 10 #include "chrome/browser/pdf/pdf_extension_util.h"
(...skipping 203 matching lines...)
214 value_map_.SetValue(primary_pattern, 214 value_map_.SetValue(primary_pattern,
215 secondary_pattern, 215 secondary_pattern,
216 CONTENT_SETTINGS_TYPE_PLUGINS, 216 CONTENT_SETTINGS_TYPE_PLUGINS,
217 resource, 217 resource,
218 new base::FundamentalValue(setting)); 218 new base::FundamentalValue(setting));
219 } 219 }
220 } 220 }
221 NotifyObservers(primary_pattern, 221 NotifyObservers(primary_pattern,
222 secondary_pattern, 222 secondary_pattern,
223 CONTENT_SETTINGS_TYPE_PLUGINS, 223 CONTENT_SETTINGS_TYPE_PLUGINS,
224 // Bleep bloop.
225 CONTENT_SETTING_DEFAULT,
224 resource); 226 resource);
225 } 227 }
226 228
227 } // namespace content_settings 229 } // namespace content_settings
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/content_settings/content_settings_supervised_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine