summaryrefslogtreecommitdiffstats
path: root/content/public/browser/browser_context.cc
blob: c3f931ee13641f3b7f013a0752a26426631945e5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "content/public/browser/browser_context.h"

#include "base/logging.h"
#include "content/public/browser/browser_thread.h"
#include "content/public/browser/notification_details.h"
#include "content/public/browser/notification_service.h"
#include "content/public/browser/notification_source.h"
#include "content/public/browser/notification_types.h"

namespace content {

BrowserContext::~BrowserContext() {
  NotificationService::current()->Notify(
      content::NOTIFICATION_BROWSER_CONTEXT_DESTRUCTION,
      content::Source<BrowserContext>(this),
      content::NotificationService::NoDetails());
}

}  // namespace content