summaryrefslogtreecommitdiffstats
path: root/chrome/browser/extensions/api/declarative/rules_registry.cc
blob: db7a2edaae58179f668cdf6fd059cb37c9e776c8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// 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 "chrome/browser/extensions/api/declarative/rules_registry.h"
#include "content/public/browser/browser_thread.h"

namespace extensions {

// static
void RulesRegistryDeleteTraits::Destruct(const RulesRegistry* rules_registry) {
  content::BrowserThread::DeleteSoon(rules_registry->GetOwnerThread(),
      FROM_HERE, rules_registry);
}

}  // extensions