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

Side by Side Diff: chrome/common/crash_keys.cc

Issue 830273003: Remove impl-side-painting from about:flags (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: impl-flags: remove-content-shell-stuff Created 5 years, 11 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) 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/common/crash_keys.h" 5 #include "chrome/common/crash_keys.h"
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "base/format_macros.h" 8 #include "base/format_macros.h"
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "base/strings/string_split.h" 10 #include "base/strings/string_split.h"
(...skipping 246 matching lines...) Expand 10 before | Expand all | Expand 10 after
257 257
258 // These surround the flags that were added by about:flags, it lets 258 // These surround the flags that were added by about:flags, it lets
259 // you distinguish which flags were added manually via the command 259 // you distinguish which flags were added manually via the command
260 // line versus those added through about:flags. For the most part 260 // line versus those added through about:flags. For the most part
261 // we don't care how an option was enabled, so we strip these. 261 // we don't care how an option was enabled, so we strip these.
262 // (If you need to know can always look at the PEB). 262 // (If you need to know can always look at the PEB).
263 flag == "--flag-switches-begin" || 263 flag == "--flag-switches-begin" ||
264 flag == "--flag-switches-end"; 264 flag == "--flag-switches-end";
265 #elif defined(OS_CHROMEOS) 265 #elif defined(OS_CHROMEOS)
266 static const char* const kIgnoreSwitches[] = { 266 static const char* const kIgnoreSwitches[] = {
267 ::switches::kEnableImplSidePainting,
268 ::switches::kEnableLogging, 267 ::switches::kEnableLogging,
269 ::switches::kFlagSwitchesBegin, 268 ::switches::kFlagSwitchesBegin,
270 ::switches::kFlagSwitchesEnd, 269 ::switches::kFlagSwitchesEnd,
271 ::switches::kLoggingLevel, 270 ::switches::kLoggingLevel,
272 ::switches::kPpapiFlashArgs, 271 ::switches::kPpapiFlashArgs,
273 ::switches::kPpapiFlashPath, 272 ::switches::kPpapiFlashPath,
274 ::switches::kRegisterPepperPlugins, 273 ::switches::kRegisterPepperPlugins,
275 ::switches::kUIPrioritizeInGpuProcess, 274 ::switches::kUIPrioritizeInGpuProcess,
276 ::switches::kUseGL, 275 ::switches::kUseGL,
277 ::switches::kUserDataDir, 276 ::switches::kUserDataDir,
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
393 } 392 }
394 393
395 ScopedPrinterInfo::~ScopedPrinterInfo() { 394 ScopedPrinterInfo::~ScopedPrinterInfo() {
396 for (size_t i = 0; i < kPrinterInfoCount; ++i) { 395 for (size_t i = 0; i < kPrinterInfoCount; ++i) {
397 std::string key = base::StringPrintf(kPrinterInfo, i + 1); 396 std::string key = base::StringPrintf(kPrinterInfo, i + 1);
398 base::debug::ClearCrashKey(key); 397 base::debug::ClearCrashKey(key);
399 } 398 }
400 } 399 }
401 400
402 } // namespace crash_keys 401 } // namespace crash_keys
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/login/chrome_restart_request.cc ('k') | content/browser/gpu/compositor_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698