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

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

Issue 1161183003: Revert "Chromium changes to statically link ffmpeg." (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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/logging.h" 9 #include "base/logging.h"
10 #include "base/memory/memory_pressure_monitor.h" 10 #include "base/memory/memory_pressure_monitor.h"
(...skipping 528 matching lines...) Expand 10 before | Expand all | Expand 10 after
539 hi_res_timer_manager_.reset(new base::HighResolutionTimerManager); 539 hi_res_timer_manager_.reset(new base::HighResolutionTimerManager);
540 } 540 }
541 { 541 {
542 TRACE_EVENT0("startup", "BrowserMainLoop::Subsystem:NetworkChangeNotifier"); 542 TRACE_EVENT0("startup", "BrowserMainLoop::Subsystem:NetworkChangeNotifier");
543 network_change_notifier_.reset(net::NetworkChangeNotifier::Create()); 543 network_change_notifier_.reset(net::NetworkChangeNotifier::Create());
544 } 544 }
545 545
546 #if !defined(OS_IOS) 546 #if !defined(OS_IOS)
547 { 547 {
548 TRACE_EVENT0("startup", "BrowserMainLoop::Subsystem:MediaFeatures"); 548 TRACE_EVENT0("startup", "BrowserMainLoop::Subsystem:MediaFeatures");
549 media::InitializeMediaLibrary(); 549 media::InitializeCPUSpecificMediaFeatures();
550 } 550 }
551 { 551 {
552 TRACE_EVENT0("startup", 552 TRACE_EVENT0("startup",
553 "BrowserMainLoop::Subsystem:ContentWebUIController"); 553 "BrowserMainLoop::Subsystem:ContentWebUIController");
554 WebUIControllerFactory::RegisterFactory( 554 WebUIControllerFactory::RegisterFactory(
555 ContentWebUIControllerFactory::GetInstance()); 555 ContentWebUIControllerFactory::GetInstance());
556 } 556 }
557 557
558 { 558 {
559 TRACE_EVENT0("startup", "BrowserMainLoop::Subsystem:OnlineStateObserver"); 559 TRACE_EVENT0("startup", "BrowserMainLoop::Subsystem:OnlineStateObserver");
(...skipping 802 matching lines...) Expand 10 before | Expand all | Expand 10 after
1362 DCHECK(is_tracing_startup_); 1362 DCHECK(is_tracing_startup_);
1363 1363
1364 is_tracing_startup_ = false; 1364 is_tracing_startup_ = false;
1365 TracingController::GetInstance()->DisableRecording( 1365 TracingController::GetInstance()->DisableRecording(
1366 TracingController::CreateFileSink( 1366 TracingController::CreateFileSink(
1367 startup_trace_file_, 1367 startup_trace_file_,
1368 base::Bind(OnStoppedStartupTracing, startup_trace_file_))); 1368 base::Bind(OnStoppedStartupTracing, startup_trace_file_)));
1369 } 1369 }
1370 1370
1371 } // namespace content 1371 } // 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