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

Side by Side Diff: apps/app_host/update.cc

Issue 12310059: Move app_host target from c/b/extensions into src/apps. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 10 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 | « apps/app_host/update.h ('k') | apps/apps.gypi » ('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/extensions/app_host/update.h" 5 #include "apps/app_host/update.h"
6 6
7 #include <windows.h> 7 #include <windows.h>
8 #include "base/command_line.h" 8 #include "base/command_line.h"
9 #include "base/file_version_info.h" 9 #include "base/file_version_info.h"
10 #include "base/logging.h" 10 #include "base/logging.h"
11 #include "base/memory/scoped_ptr.h" 11 #include "base/memory/scoped_ptr.h"
12 #include "base/process_util.h" 12 #include "base/process_util.h"
13 #include "base/string16.h" 13 #include "base/string16.h"
14 #include "base/string_util.h" 14 #include "base/string_util.h"
15 #include "base/version.h" 15 #include "base/version.h"
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 Version app_host_version(GetAppHostVersion()); 93 Version app_host_version(GetAppHostVersion());
94 if (app_host_version.CompareTo(new_version) < 0) { 94 if (app_host_version.CompareTo(new_version) < 0) {
95 LOG(INFO) << "Updating App Launcher from " << app_host_version.GetString() 95 LOG(INFO) << "Updating App Launcher from " << app_host_version.GetString()
96 << " to " << new_version.GetString(); 96 << " to " << new_version.GetString();
97 if (!LaunchAppHostUpdate()) 97 if (!LaunchAppHostUpdate())
98 LOG(ERROR) << "Failed to launch App Launcher update."; 98 LOG(ERROR) << "Failed to launch App Launcher update.";
99 } 99 }
100 } 100 }
101 101
102 } // namespace app_host 102 } // namespace app_host
OLDNEW
« no previous file with comments | « apps/app_host/update.h ('k') | apps/apps.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698