Commit 3a44c451 authored by limasdf@gmail.com's avatar limasdf@gmail.com

Move c/b/e/api/api_resource_manager_unittest.cc to

src/extensions/browser/api/
Make it compiled and fix typo.

BUG=381706

Review URL: https://codereview.chromium.org/319543006

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@275571 0039d316-1c4b-4281-b951-d872f2087c98
parent 8952cde2
......@@ -57,7 +57,7 @@ class WebRequestRulesRegistry;
// Support class for the WebRequest API. Lives on the UI thread. Most of the
// work is done by ExtensionWebRequestEventRouter below. This class observes
// extension::EventRouter to deal with event listeners. There is one instance
// extensions::EventRouter to deal with event listeners. There is one instance
// per BrowserContext which is shared with incognito.
class WebRequestAPI : public BrowserContextKeyedAPI,
public EventRouter::Observer {
......
......@@ -531,6 +531,7 @@
# extensions_unittests running in the bots yet. Until that happens,
# they should be kept here.
'../extensions/browser/admin_policy_unittest.cc',
'../extensions/browser/api/api_resource_manager_unittest.cc',
'../extensions/browser/api/storage/settings_quota_unittest.cc',
'../extensions/browser/api/storage/settings_test_util.cc',
'../extensions/browser/api/storage/settings_test_util.h',
......@@ -866,7 +867,6 @@
'browser/extensions/activity_log/uma_policy_unittest.cc',
'browser/extensions/api/activity_log_private/activity_log_private_api_unittest.cc',
'browser/extensions/api/alarms/alarms_api_unittest.cc',
'browser/extensions/api/api_resource_manager_unittest.cc',
'browser/extensions/api/bluetooth/bluetooth_event_router_unittest.cc',
'browser/extensions/api/bookmarks/bookmark_api_helpers_unittest.cc',
'browser/extensions/api/cast_channel/cast_channel_api_unittest.cc',
......
// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Copyright 2014 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 "base/files/file_path.h"
#include "base/strings/string_util.h"
#include "chrome/browser/extensions/extension_function_test_utils.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/common/extensions/extension_test_util.h"
#include "chrome/test/base/browser_with_test_window_test.h"
#include "content/public/browser/browser_thread.h"
#include "content/public/test/test_browser_thread_bundle.h"
#include "extensions/browser/api/api_resource.h"
#include "extensions/browser/api/api_resource_manager.h"
#include "extensions/common/extension.h"
......@@ -21,10 +19,9 @@ using content::BrowserThread;
namespace extensions {
// TODO(rockot): Move these tests to src/extensions.
class ApiResourceManagerUnitTest : public BrowserWithTestWindowTest {
public:
virtual void SetUp() { BrowserWithTestWindowTest::SetUp(); }
class ApiResourceManagerUnitTest : public testing::Test {
private:
content::TestBrowserThreadBundle thread_bundle_;
};
class FakeApiResource : public ApiResource {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment