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

Side by Side Diff: ios/chrome/app/startup/ios_chrome_main_delegate.mm

Issue 2580363002: Upstream Chrome on iOS source code [1/11]. (Closed)
Patch Set: Created 4 years 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
(Empty)
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
3 // found in the LICENSE file.
4
5 #include "ios/chrome/app/startup/ios_chrome_main_delegate.h"
6
7 #include "base/logging.h"
8 #include "ios/chrome/browser/chrome_paths.h"
9 #include "third_party/skia/include/core/SkGraphics.h"
10
11 IOSChromeMainDelegate::IOSChromeMainDelegate() {}
12
13 IOSChromeMainDelegate::~IOSChromeMainDelegate() {}
14
15 void IOSChromeMainDelegate::BasicStartupComplete() {
16 // Initialize Skia. On desktop this is made by content::BrowserMainRunnerImpl,
17 // however web does not have a dependency on skia, so it is done as part of
18 // Chrome initialisation on iOS.
19 SkGraphics::Init();
20
21 // Initialize the Chrome path provider.
22 ios::RegisterPathProvider();
23
24 // Upstream wires up log file handling here based on flags; for now that's
25 // not supported, and this is called just to handle vlog levels and patterns.
26 // If redirecting to a file is ever needed, add it here (see
27 // logging_chrome.cc for example code).
28 logging::LoggingSettings log_settings;
29 logging::InitLogging(log_settings);
30 }
OLDNEW
« no previous file with comments | « ios/chrome/app/startup/ios_chrome_main_delegate.h ('k') | ios/chrome/app/startup/network_stack_setup.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698