| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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/gpu_blacklist.h" | 5 #include "content/browser/gpu_blacklist.h" |
| 6 | 6 |
| 7 #include "base/json/json_reader.h" | 7 #include "base/json/json_reader.h" |
| 8 #include "base/logging.h" | 8 #include "base/logging.h" |
| 9 #include "base/string_number_conversions.h" | 9 #include "base/string_number_conversions.h" |
| 10 #include "base/string_util.h" | 10 #include "base/string_util.h" |
| 11 #include "base/stringprintf.h" | 11 #include "base/stringprintf.h" |
| 12 #include "base/sys_info.h" | 12 #include "base/sys_info.h" |
| 13 #include "base/values.h" | 13 #include "base/values.h" |
| 14 #include "base/version.h" | 14 #include "base/version.h" |
| 15 #include "chrome/common/gpu_info.h" | 15 #include "chrome/common/gpu_info.h" |
| (...skipping 552 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 568 #endif | 568 #endif |
| 569 } | 569 } |
| 570 | 570 |
| 571 void GpuBlacklist::Clear() { | 571 void GpuBlacklist::Clear() { |
| 572 for (size_t i = 0; i < blacklist_.size(); ++i) | 572 for (size_t i = 0; i < blacklist_.size(); ++i) |
| 573 delete blacklist_[i]; | 573 delete blacklist_[i]; |
| 574 blacklist_.clear(); | 574 blacklist_.clear(); |
| 575 active_entries_.clear(); | 575 active_entries_.clear(); |
| 576 } | 576 } |
| 577 | 577 |
| OLD | NEW |