Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(51)

Side by Side Diff: chrome/browser/browser_process_impl.cc

Issue 855503002: Remove remainder of USE_ATHENA ifdefs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@remove_USE_ATHENA3
Patch Set: Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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/browser_process_impl.h" 5 #include "chrome/browser/browser_process_impl.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <map> 8 #include <map>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after
196 196
197 #if defined(OS_MACOSX) 197 #if defined(OS_MACOSX)
198 InitIdleMonitor(); 198 InitIdleMonitor();
199 #endif 199 #endif
200 200
201 #if !defined(OS_ANDROID) 201 #if !defined(OS_ANDROID)
202 device_client_.reset(new ChromeDeviceClient); 202 device_client_.reset(new ChromeDeviceClient);
203 #endif 203 #endif
204 204
205 #if defined(ENABLE_EXTENSIONS) 205 #if defined(ENABLE_EXTENSIONS)
206 #if !defined(USE_ATHENA)
207 // Athena sets its own instance during Athena's init process. 206 // Athena sets its own instance during Athena's init process.
208 extensions::AppWindowClient::Set(ChromeAppWindowClient::GetInstance()); 207 extensions::AppWindowClient::Set(ChromeAppWindowClient::GetInstance());
209 #endif
210 208
211 extension_event_router_forwarder_ = new extensions::EventRouterForwarder; 209 extension_event_router_forwarder_ = new extensions::EventRouterForwarder;
212 ExtensionRendererState::GetInstance()->Init(); 210 ExtensionRendererState::GetInstance()->Init();
213 211
214 extensions::ExtensionsClient::Set( 212 extensions::ExtensionsClient::Set(
215 extensions::ChromeExtensionsClient::GetInstance()); 213 extensions::ChromeExtensionsClient::GetInstance());
216 214
217 extensions_browser_client_.reset( 215 extensions_browser_client_.reset(
218 new extensions::ChromeExtensionsBrowserClient); 216 new extensions::ChromeExtensionsBrowserClient);
219 extensions::ExtensionsBrowserClient::Set(extensions_browser_client_.get()); 217 extensions::ExtensionsBrowserClient::Set(extensions_browser_client_.get());
(...skipping 980 matching lines...) Expand 10 before | Expand all | Expand 10 after
1200 } 1198 }
1201 1199
1202 void BrowserProcessImpl::OnAutoupdateTimer() { 1200 void BrowserProcessImpl::OnAutoupdateTimer() {
1203 if (CanAutorestartForUpdate()) { 1201 if (CanAutorestartForUpdate()) {
1204 DLOG(WARNING) << "Detected update. Restarting browser."; 1202 DLOG(WARNING) << "Detected update. Restarting browser.";
1205 RestartBackgroundInstance(); 1203 RestartBackgroundInstance();
1206 } 1204 }
1207 } 1205 }
1208 1206
1209 #endif // (defined(OS_WIN) || defined(OS_LINUX)) && !defined(OS_CHROMEOS) 1207 #endif // (defined(OS_WIN) || defined(OS_LINUX)) && !defined(OS_CHROMEOS)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698