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

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

Issue 10855075: Clean-up inline members of nested classes (chrome/) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 4 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 | Annotate | Revision Log
« no previous file with comments | « chrome/browser/gpu_blacklist.h ('k') | chrome/browser/process_info_snapshot.h » ('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) 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 "chrome/browser/gpu_blacklist.h" 5 #include "chrome/browser/gpu_blacklist.h"
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "base/json/json_reader.h" 8 #include "base/json/json_reader.h"
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "base/string_number_conversions.h" 10 #include "base/string_number_conversions.h"
(...skipping 608 matching lines...) Expand 10 before | Expand all | Expand 10 after
619 : id_(0), 619 : id_(0),
620 disabled_(false), 620 disabled_(false),
621 vendor_id_(0), 621 vendor_id_(0),
622 multi_gpu_style_(kMultiGpuStyleNone), 622 multi_gpu_style_(kMultiGpuStyleNone),
623 multi_gpu_category_(kMultiGpuCategoryPrimary), 623 multi_gpu_category_(kMultiGpuCategoryPrimary),
624 feature_type_(content::GPU_FEATURE_TYPE_UNKNOWN), 624 feature_type_(content::GPU_FEATURE_TYPE_UNKNOWN),
625 contains_unknown_fields_(false), 625 contains_unknown_fields_(false),
626 contains_unknown_features_(false) { 626 contains_unknown_features_(false) {
627 } 627 }
628 628
629 GpuBlacklist::GpuBlacklistEntry::~GpuBlacklistEntry() { }
630
629 bool GpuBlacklist::GpuBlacklistEntry::SetId(uint32 id) { 631 bool GpuBlacklist::GpuBlacklistEntry::SetId(uint32 id) {
630 if (id != 0) { 632 if (id != 0) {
631 id_ = id; 633 id_ = id;
632 return true; 634 return true;
633 } 635 }
634 return false; 636 return false;
635 } 637 }
636 638
637 void GpuBlacklist::GpuBlacklistEntry::SetDisabled(bool disabled) { 639 void GpuBlacklist::GpuBlacklistEntry::SetDisabled(bool disabled) {
638 disabled_ = disabled; 640 disabled_ = disabled;
(...skipping 537 matching lines...) Expand 10 before | Expand all | Expand 10 after
1176 if (op == ">") 1178 if (op == ">")
1177 return kGT; 1179 return kGT;
1178 if (op == ">=") 1180 if (op == ">=")
1179 return kGE; 1181 return kGE;
1180 if (op == "any") 1182 if (op == "any")
1181 return kAny; 1183 return kAny;
1182 if (op == "between") 1184 if (op == "between")
1183 return kBetween; 1185 return kBetween;
1184 return kUnknown; 1186 return kUnknown;
1185 } 1187 }
OLDNEW
« no previous file with comments | « chrome/browser/gpu_blacklist.h ('k') | chrome/browser/process_info_snapshot.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698