OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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/login/oauth2_token_fetcher.h" | 5 #include "chrome/browser/chromeos/login/signin/oauth2_token_fetcher.h" |
6 | 6 |
7 #include "base/logging.h" | 7 #include "base/logging.h" |
8 #include "base/strings/string_util.h" | 8 #include "base/strings/string_util.h" |
9 #include "chromeos/network/network_handler.h" | 9 #include "chromeos/network/network_handler.h" |
10 #include "chromeos/network/network_state.h" | 10 #include "chromeos/network/network_state.h" |
11 #include "chromeos/network/network_state_handler.h" | 11 #include "chromeos/network/network_state_handler.h" |
12 #include "content/public/browser/browser_thread.h" | 12 #include "content/public/browser/browser_thread.h" |
13 #include "google_apis/gaia/gaia_constants.h" | 13 #include "google_apis/gaia/gaia_constants.h" |
14 #include "google_apis/gaia/google_service_auth_error.h" | 14 #include "google_apis/gaia/google_service_auth_error.h" |
15 #include "third_party/cros_system_api/dbus/service_constants.h" | 15 #include "third_party/cros_system_api/dbus/service_constants.h" |
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
124 base::TimeDelta::FromMilliseconds(kRequestRestartDelay)); | 124 base::TimeDelta::FromMilliseconds(kRequestRestartDelay)); |
125 return; | 125 return; |
126 } | 126 } |
127 LOG(ERROR) << "Unrecoverable error or retry count max reached. State: " | 127 LOG(ERROR) << "Unrecoverable error or retry count max reached. State: " |
128 << error.state() << ", network error: " << error.network_error() | 128 << error.state() << ", network error: " << error.network_error() |
129 << ", message: " << error.error_message(); | 129 << ", message: " << error.error_message(); |
130 error_handler.Run(); | 130 error_handler.Run(); |
131 } | 131 } |
132 | 132 |
133 } // namespace chromeos | 133 } // namespace chromeos |
OLD | NEW |