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

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

Issue 9371010: Make google_update.gyp write shared files to SHARED_INTERMEDIATE_DIR (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Update DEPS Created 8 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 | « chrome/browser/google/google_update.h ('k') | chrome/installer/DEPS » ('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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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/google_update.h" 5 #include "chrome/browser/google/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/bind.h" 10 #include "base/bind.h"
11 #include "base/file_path.h" 11 #include "base/file_path.h"
12 #include "base/message_loop.h" 12 #include "base/message_loop.h"
13 #include "base/path_service.h" 13 #include "base/path_service.h"
14 #include "base/string_util.h" 14 #include "base/string_util.h"
15 #include "base/stringprintf.h" 15 #include "base/stringprintf.h"
16 #include "base/threading/thread.h" 16 #include "base/threading/thread.h"
17 #include "base/win/scoped_comptr.h" 17 #include "base/win/scoped_comptr.h"
18 #include "base/win/windows_version.h" 18 #include "base/win/windows_version.h"
19 #include "chrome/installer/util/browser_distribution.h" 19 #include "chrome/installer/util/browser_distribution.h"
20 #include "chrome/installer/util/google_update_settings.h" 20 #include "chrome/installer/util/google_update_settings.h"
21 #include "chrome/installer/util/helper.h" 21 #include "chrome/installer/util/helper.h"
22 #include "chrome/installer/util/install_util.h" 22 #include "chrome/installer/util/install_util.h"
23 #include "content/public/browser/browser_thread.h" 23 #include "content/public/browser/browser_thread.h"
24 #include "google_update_idl_i.c" 24 #include "google_update/google_update_idl.h"
25 #include "grit/generated_resources.h" 25 #include "grit/generated_resources.h"
26 #include "ui/base/l10n/l10n_util.h" 26 #include "ui/base/l10n/l10n_util.h"
27 #include "ui/views/widget/widget.h" 27 #include "ui/views/widget/widget.h"
28 28
29 using content::BrowserThread; 29 using content::BrowserThread;
30 30
31 namespace { 31 namespace {
32 32
33 // Check if the currently running instance can be updated by Google Update. 33 // Check if the currently running instance can be updated by Google Update.
34 // Returns GOOGLE_UPDATE_NO_ERROR only if the instance running is a Google 34 // Returns GOOGLE_UPDATE_NO_ERROR only if the instance running is a Google
(...skipping 348 matching lines...) Expand 10 before | Expand all | Expand 10 after
383 MessageLoop* main_loop) { 383 MessageLoop* main_loop) {
384 NOTREACHED() << "Communication with Google Update failed: " << hr 384 NOTREACHED() << "Communication with Google Update failed: " << hr
385 << " error: " << error_code 385 << " error: " << error_code
386 << ", message: " << error_message.c_str(); 386 << ", message: " << error_message.c_str();
387 main_loop->PostTask( 387 main_loop->PostTask(
388 FROM_HERE, 388 FROM_HERE,
389 base::Bind(&GoogleUpdate::ReportResults, this, 389 base::Bind(&GoogleUpdate::ReportResults, this,
390 UPGRADE_ERROR, error_code, error_message)); 390 UPGRADE_ERROR, error_code, error_message));
391 return false; 391 return false;
392 } 392 }
OLDNEW
« no previous file with comments | « chrome/browser/google/google_update.h ('k') | chrome/installer/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698