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

Side by Side Diff: apps/app_host/binaries_installer.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/binaries_installer.h ('k') | apps/app_host/update.h » ('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/binaries_installer.h" 5 #include "apps/app_host/binaries_installer.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "base/threading/platform_thread.h" 8 #include "base/threading/platform_thread.h"
9 #include "base/win/scoped_bstr.h" 9 #include "base/win/scoped_bstr.h"
10 #include "base/win/scoped_com_initializer.h" 10 #include "base/win/scoped_com_initializer.h"
11 #include "base/win/scoped_comptr.h" 11 #include "base/win/scoped_comptr.h"
12 #include "google_update/google_update_idl.h" 12 #include "google_update/google_update_idl.h"
13 13
14 14
15 namespace app_host { 15 namespace app_host {
(...skipping 302 matching lines...) Expand 10 before | Expand all | Expand 10 after
318 // We rely upon Omaha to eventually time out and transition to a failure 318 // We rely upon Omaha to eventually time out and transition to a failure
319 // state. 319 // state.
320 while (!CheckIfDone(app_bundle, app, &hr)) { 320 while (!CheckIfDone(app_bundle, app, &hr)) {
321 base::PlatformThread::Sleep(base::TimeDelta::FromMilliseconds( 321 base::PlatformThread::Sleep(base::TimeDelta::FromMilliseconds(
322 kInstallationPollingIntervalMs)); 322 kInstallationPollingIntervalMs));
323 } 323 }
324 return hr; 324 return hr;
325 } 325 }
326 326
327 } // namespace app_host 327 } // namespace app_host
OLDNEW
« no previous file with comments | « apps/app_host/binaries_installer.h ('k') | apps/app_host/update.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698