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

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

Issue 345036: Rewrite of chrome.exe startup code... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 1 month 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/app/google_update_client.cc ('k') | chrome/chrome.gyp » ('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) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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/google_update.h" 5 #include "chrome/browser/google_update.h"
6 6
7 #include <atlbase.h> 7 #include <atlbase.h>
8 #include <atlcom.h> 8 #include <atlcom.h>
9 9
10 #include "base/message_loop.h" 10 #include "base/message_loop.h"
11 #include "base/path_service.h" 11 #include "base/path_service.h"
12 #include "base/scoped_comptr_win.h" 12 #include "base/scoped_comptr_win.h"
13 #include "base/string_util.h" 13 #include "base/string_util.h"
14 #include "base/task.h" 14 #include "base/task.h"
15 #include "base/thread.h" 15 #include "base/thread.h"
16 #include "base/win_util.h" 16 #include "base/win_util.h"
17 #include "chrome/app/client_util.h"
18 #include "chrome/browser/browser_process.h" 17 #include "chrome/browser/browser_process.h"
19 #include "chrome/installer/util/google_update_constants.h" 18 #include "chrome/installer/util/google_update_constants.h"
20 #include "chrome/installer/util/helper.h" 19 #include "chrome/installer/util/helper.h"
21 #include "chrome/installer/util/install_util.h" 20 #include "chrome/installer/util/install_util.h"
22 #include "views/window/window.h" 21 #include "views/window/window.h"
23 #include "google_update_idl_i.c" 22 #include "google_update_idl_i.c"
24 23
25 using views::Window; 24 using views::Window;
26 25
27 namespace { 26 namespace {
(...skipping 303 matching lines...) Expand 10 before | Expand all | Expand 10 after
331 } 330 }
332 331
333 bool GoogleUpdate::ReportFailure(HRESULT hr, GoogleUpdateErrorCode error_code, 332 bool GoogleUpdate::ReportFailure(HRESULT hr, GoogleUpdateErrorCode error_code,
334 MessageLoop* main_loop) { 333 MessageLoop* main_loop) {
335 NOTREACHED() << "Communication with Google Update failed: " << hr 334 NOTREACHED() << "Communication with Google Update failed: " << hr
336 << " error: " << error_code; 335 << " error: " << error_code;
337 main_loop->PostTask(FROM_HERE, NewRunnableMethod(this, 336 main_loop->PostTask(FROM_HERE, NewRunnableMethod(this,
338 &GoogleUpdate::ReportResults, UPGRADE_ERROR, error_code)); 337 &GoogleUpdate::ReportResults, UPGRADE_ERROR, error_code));
339 return false; 338 return false;
340 } 339 }
OLDNEW
« no previous file with comments | « chrome/app/google_update_client.cc ('k') | chrome/chrome.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698