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

Side by Side Diff: content/browser/browser_main_loop.cc

Issue 1141703002: Chromium changes for static linking ffmpeg (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Roll DEPS to fix cros, rebase. Created 5 years, 6 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
« no previous file with comments | « content/app/content_main_runner.cc ('k') | content/content_browsertests.isolate » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 "content/browser/browser_main_loop.h" 5 #include "content/browser/browser_main_loop.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/command_line.h" 8 #include "base/command_line.h"
9 #include "base/location.h" 9 #include "base/location.h"
10 #include "base/logging.h" 10 #include "base/logging.h"
(...skipping 530 matching lines...) Expand 10 before | Expand all | Expand 10 after
541 hi_res_timer_manager_.reset(new base::HighResolutionTimerManager); 541 hi_res_timer_manager_.reset(new base::HighResolutionTimerManager);
542 } 542 }
543 { 543 {
544 TRACE_EVENT0("startup", "BrowserMainLoop::Subsystem:NetworkChangeNotifier"); 544 TRACE_EVENT0("startup", "BrowserMainLoop::Subsystem:NetworkChangeNotifier");
545 network_change_notifier_.reset(net::NetworkChangeNotifier::Create()); 545 network_change_notifier_.reset(net::NetworkChangeNotifier::Create());
546 } 546 }
547 547
548 #if !defined(OS_IOS) 548 #if !defined(OS_IOS)
549 { 549 {
550 TRACE_EVENT0("startup", "BrowserMainLoop::Subsystem:MediaFeatures"); 550 TRACE_EVENT0("startup", "BrowserMainLoop::Subsystem:MediaFeatures");
551 media::InitializeCPUSpecificMediaFeatures(); 551 media::InitializeMediaLibrary();
552 } 552 }
553 { 553 {
554 TRACE_EVENT0("startup", 554 TRACE_EVENT0("startup",
555 "BrowserMainLoop::Subsystem:ContentWebUIController"); 555 "BrowserMainLoop::Subsystem:ContentWebUIController");
556 WebUIControllerFactory::RegisterFactory( 556 WebUIControllerFactory::RegisterFactory(
557 ContentWebUIControllerFactory::GetInstance()); 557 ContentWebUIControllerFactory::GetInstance());
558 } 558 }
559 559
560 { 560 {
561 TRACE_EVENT0("startup", "BrowserMainLoop::Subsystem:OnlineStateObserver"); 561 TRACE_EVENT0("startup", "BrowserMainLoop::Subsystem:OnlineStateObserver");
(...skipping 806 matching lines...) Expand 10 before | Expand all | Expand 10 after
1368 DCHECK(is_tracing_startup_); 1368 DCHECK(is_tracing_startup_);
1369 1369
1370 is_tracing_startup_ = false; 1370 is_tracing_startup_ = false;
1371 TracingController::GetInstance()->DisableRecording( 1371 TracingController::GetInstance()->DisableRecording(
1372 TracingController::CreateFileSink( 1372 TracingController::CreateFileSink(
1373 startup_trace_file_, 1373 startup_trace_file_,
1374 base::Bind(OnStoppedStartupTracing, startup_trace_file_))); 1374 base::Bind(OnStoppedStartupTracing, startup_trace_file_)));
1375 } 1375 }
1376 1376
1377 } // namespace content 1377 } // namespace content
OLDNEW
« no previous file with comments | « content/app/content_main_runner.cc ('k') | content/content_browsertests.isolate » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698