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

Side by Side Diff: content/browser/bluetooth/bluetooth_blacklist.cc

Issue 1892353002: Suppress a weird null-dereference error from DrMemory that doesn't cause a crash. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@lkcr
Patch Set: Created 4 years, 8 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 | « no previous file | tools/valgrind/drmemory/suppressions.txt » ('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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 "content/browser/bluetooth/bluetooth_blacklist.h" 5 #include "content/browser/bluetooth/bluetooth_blacklist.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "base/metrics/histogram_macros.h" 8 #include "base/metrics/histogram_macros.h"
9 #include "base/strings/string_split.h" 9 #include "base/strings/string_split.h"
10 #include "content/common/bluetooth/bluetooth_scan_filter.h" 10 #include "content/common/bluetooth/bluetooth_scan_filter.h"
(...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after
172 // Descriptors: 172 // Descriptors:
173 Add(BluetoothUUID("2902"), Value::EXCLUDE_WRITES); 173 Add(BluetoothUUID("2902"), Value::EXCLUDE_WRITES);
174 Add(BluetoothUUID("2903"), Value::EXCLUDE_WRITES); 174 Add(BluetoothUUID("2903"), Value::EXCLUDE_WRITES);
175 // Descriptors for Layout Tests: 175 // Descriptors for Layout Tests:
176 Add(BluetoothUUID("bad2ddcf-60db-45cd-bef9-fd72b153cf7c"), Value::EXCLUDE); 176 Add(BluetoothUUID("bad2ddcf-60db-45cd-bef9-fd72b153cf7c"), Value::EXCLUDE);
177 Add(BluetoothUUID("bad3ec61-3cc3-4954-9702-7977df514114"), 177 Add(BluetoothUUID("bad3ec61-3cc3-4954-9702-7977df514114"),
178 Value::EXCLUDE_READS); 178 Value::EXCLUDE_READS);
179 } 179 }
180 180
181 void BluetoothBlacklist::PopulateWithServerProvidedValues() { 181 void BluetoothBlacklist::PopulateWithServerProvidedValues() {
182 // DCHECK to maybe help debug https://crbug.com/604078.
183 DCHECK(GetContentClient());
182 Add(GetContentClient()->browser()->GetWebBluetoothBlacklist()); 184 Add(GetContentClient()->browser()->GetWebBluetoothBlacklist());
183 } 185 }
184 186
185 } // namespace content 187 } // namespace content
OLDNEW
« no previous file with comments | « no previous file | tools/valgrind/drmemory/suppressions.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698