Save errno for logging before potentially overwriting it.
[chromium-blink-merge.git] / content / public / browser / browser_child_process_observer.cc
blob9f0be9ba08f167b4936a7b9f7e5df3e39ef8fcfd
1 // Copyright (c) 2013 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.
5 #include "content/public/browser/browser_child_process_observer.h"
7 #include "content/browser/browser_child_process_host_impl.h"
9 namespace content {
11 // static
12 void BrowserChildProcessObserver::Add(BrowserChildProcessObserver* observer) {
13 BrowserChildProcessHostImpl::AddObserver(observer);
16 // static
17 void BrowserChildProcessObserver::Remove(
18 BrowserChildProcessObserver* observer) {
19 BrowserChildProcessHostImpl::RemoveObserver(observer);
22 } // namespace content