| 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/policy/device_management_service.h" | 5 #include "chrome/browser/policy/cloud/device_management_service.h" |
| 6 | 6 |
| 7 #include <utility> | 7 #include <utility> |
| 8 | 8 |
| 9 #include "base/bind.h" | 9 #include "base/bind.h" |
| 10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
| 11 #include "base/message_loop.h" | 11 #include "base/message_loop.h" |
| 12 #include "base/message_loop_proxy.h" | 12 #include "base/message_loop_proxy.h" |
| 13 #include "base/stringprintf.h" | 13 #include "base/stringprintf.h" |
| 14 #include "base/sys_info.h" | 14 #include "base/sys_info.h" |
| 15 #include "chrome/browser/browser_process.h" | 15 #include "chrome/browser/browser_process.h" |
| (...skipping 625 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 641 } | 641 } |
| 642 } | 642 } |
| 643 | 643 |
| 644 const JobQueue::iterator elem = | 644 const JobQueue::iterator elem = |
| 645 std::find(queued_jobs_.begin(), queued_jobs_.end(), job); | 645 std::find(queued_jobs_.begin(), queued_jobs_.end(), job); |
| 646 if (elem != queued_jobs_.end()) | 646 if (elem != queued_jobs_.end()) |
| 647 queued_jobs_.erase(elem); | 647 queued_jobs_.erase(elem); |
| 648 } | 648 } |
| 649 | 649 |
| 650 } // namespace policy | 650 } // namespace policy |
| OLD | NEW |