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/login/signin/merge_session_load_page.h" | 5 #include "chrome/browser/chromeos/login/signin/merge_session_load_page.h" |
6 | 6 |
7 #include "ash/common/system/tray/system_tray_delegate.h" | |
8 #include "ash/shell.h" | |
9 #include "ash/shell_delegate.h" | |
10 #include "base/metrics/histogram.h" | 7 #include "base/metrics/histogram.h" |
11 #include "base/strings/string_piece.h" | 8 #include "base/strings/string_piece.h" |
12 #include "base/strings/stringprintf.h" | 9 #include "base/strings/stringprintf.h" |
13 #include "base/strings/utf_string_conversions.h" | 10 #include "base/strings/utf_string_conversions.h" |
14 #include "base/values.h" | 11 #include "base/values.h" |
15 #include "chrome/browser/browser_process.h" | 12 #include "chrome/browser/browser_process.h" |
16 #include "chrome/browser/chrome_notification_types.h" | 13 #include "chrome/browser/chrome_notification_types.h" |
17 #include "chrome/browser/chromeos/login/signin/oauth2_login_manager_factory.h" | 14 #include "chrome/browser/chromeos/login/signin/oauth2_login_manager_factory.h" |
18 #include "chrome/browser/extensions/extension_service.h" | 15 #include "chrome/browser/extensions/extension_service.h" |
19 #include "chrome/browser/profiles/profile.h" | 16 #include "chrome/browser/profiles/profile.h" |
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
166 " NOT " : "") | 163 " NOT " : "") |
167 << " be blocking now, " | 164 << " be blocking now, " |
168 << state; | 165 << state; |
169 if (!manager->ShouldBlockTabLoading()) { | 166 if (!manager->ShouldBlockTabLoading()) { |
170 manager->RemoveObserver(this); | 167 manager->RemoveObserver(this); |
171 interstitial_page_->Proceed(); | 168 interstitial_page_->Proceed(); |
172 } | 169 } |
173 } | 170 } |
174 | 171 |
175 } // namespace chromeos | 172 } // namespace chromeos |
OLD | NEW |