| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 #ifndef BLIMP_CLIENT_CORE_CONTEXT_ASSIGNMENT_FETCHER_H_ | 5 #ifndef BLIMP_CLIENT_CORE_CONTEXT_ASSIGNMENT_FETCHER_H_ |
| 6 #define BLIMP_CLIENT_CORE_CONTEXT_ASSIGNMENT_FETCHER_H_ | 6 #define BLIMP_CLIENT_CORE_CONTEXT_ASSIGNMENT_FETCHER_H_ |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| 11 #include "base/memory/ref_counted.h" |
| 12 #include "base/single_thread_task_runner.h" |
| 11 #include "blimp/client/core/session/assignment_source.h" | 13 #include "blimp/client/core/session/assignment_source.h" |
| 12 #include "blimp/client/core/session/identity_source.h" | 14 #include "blimp/client/core/session/identity_source.h" |
| 13 | 15 |
| 14 namespace blimp { | 16 namespace blimp { |
| 15 namespace client { | 17 namespace client { |
| 16 | 18 |
| 17 class AssignmentFetcher { | 19 class AssignmentFetcher { |
| 18 public: | 20 public: |
| 19 using AuthErrorCallback = base::Callback<void(const GoogleServiceAuthError&)>; | 21 using AuthErrorCallback = base::Callback<void(const GoogleServiceAuthError&)>; |
| 20 using AssignmentResultCallback = | 22 using AssignmentResultCallback = |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 58 // The task runner to use for file operations. | 60 // The task runner to use for file operations. |
| 59 scoped_refptr<base::SingleThreadTaskRunner> file_thread_task_runner_; | 61 scoped_refptr<base::SingleThreadTaskRunner> file_thread_task_runner_; |
| 60 | 62 |
| 61 DISALLOW_COPY_AND_ASSIGN(AssignmentFetcher); | 63 DISALLOW_COPY_AND_ASSIGN(AssignmentFetcher); |
| 62 }; | 64 }; |
| 63 | 65 |
| 64 } // namespace client | 66 } // namespace client |
| 65 } // namespace blimp | 67 } // namespace blimp |
| 66 | 68 |
| 67 #endif // BLIMP_CLIENT_CORE_CONTEXT_ASSIGNMENT_FETCHER_H_ | 69 #endif // BLIMP_CLIENT_CORE_CONTEXT_ASSIGNMENT_FETCHER_H_ |
| OLD | NEW |