OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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/chromeos/platform_keys/platform_keys_service.h" | 5 #include "chrome/browser/chromeos/platform_keys/platform_keys_service.h" |
6 | 6 |
| 7 #include <stddef.h> |
| 8 |
7 #include <utility> | 9 #include <utility> |
8 | 10 |
9 #include "base/bind.h" | 11 #include "base/bind.h" |
10 #include "base/bind_helpers.h" | 12 #include "base/bind_helpers.h" |
11 #include "base/callback.h" | 13 #include "base/callback.h" |
| 14 #include "base/macros.h" |
12 #include "base/values.h" | 15 #include "base/values.h" |
13 #include "chrome/browser/chromeos/platform_keys/platform_keys.h" | 16 #include "chrome/browser/chromeos/platform_keys/platform_keys.h" |
14 #include "content/public/browser/browser_thread.h" | 17 #include "content/public/browser/browser_thread.h" |
15 #include "extensions/browser/state_store.h" | 18 #include "extensions/browser/state_store.h" |
16 #include "net/cert/x509_certificate.h" | 19 #include "net/cert/x509_certificate.h" |
17 | 20 |
18 using content::BrowserThread; | 21 using content::BrowserThread; |
19 | 22 |
20 namespace chromeos { | 23 namespace chromeos { |
21 | 24 |
(...skipping 603 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
625 while (!tasks_.empty() && tasks_.front()->IsDone()) | 628 while (!tasks_.empty() && tasks_.front()->IsDone()) |
626 tasks_.pop(); | 629 tasks_.pop(); |
627 | 630 |
628 // Now either the queue is empty or the next task is not finished yet and it | 631 // Now either the queue is empty or the next task is not finished yet and it |
629 // can be started. | 632 // can be started. |
630 if (!tasks_.empty()) | 633 if (!tasks_.empty()) |
631 tasks_.front()->Start(); | 634 tasks_.front()->Start(); |
632 } | 635 } |
633 | 636 |
634 } // namespace chromeos | 637 } // namespace chromeos |
OLD | NEW |