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

Unified Diff: chrome/browser/first_run/upgrade_util.cc

Issue 6835022: Broke ARM compile. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/first_run/upgrade_util.h ('k') | chrome/browser/first_run/upgrade_util_linux.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/first_run/upgrade_util.cc
===================================================================
--- chrome/browser/first_run/upgrade_util.cc (revision 81411)
+++ chrome/browser/first_run/upgrade_util.cc (working copy)
@@ -1,34 +0,0 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "chrome/browser/first_run/upgrade_util.h"
-
-#include "base/command_line.h"
-#include "base/logging.h"
-
-namespace {
-
-CommandLine* command_line;
-
-} // namespace
-
-namespace upgrade_util {
-
-void SetNewCommandLine(CommandLine* new_command_line) {
- command_line = new_command_line;
-}
-
-void RelaunchChromeBrowserWithNewCommandLineIfNeeded() {
- if (command_line) {
- if (!RelaunchChromeBrowser(*command_line)) {
- DLOG(ERROR) << "Launching a new instance of the browser failed.";
- } else {
- DLOG(WARNING) << "Launched a new instance of the browser.";
- }
- delete command_line;
- command_line = NULL;
- }
-}
-
-} // namespace upgrade_util
« no previous file with comments | « chrome/browser/first_run/upgrade_util.h ('k') | chrome/browser/first_run/upgrade_util_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698