OLD | NEW |
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 Loading... |
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 |
OLD | NEW |