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

Unified Diff: chrome/browser/protector/mock_protector_service.cc

Issue 11493003: Remove the protector service. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix implicit ExtensionSystem -> TemplateURLService dependency Created 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/protector/mock_protector_service.h ('k') | chrome/browser/protector/mock_setting_change.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/protector/mock_protector_service.cc
diff --git a/chrome/browser/protector/mock_protector_service.cc b/chrome/browser/protector/mock_protector_service.cc
deleted file mode 100644
index a8caacb6ed780cfddd9921b767620908eab632b6..0000000000000000000000000000000000000000
--- a/chrome/browser/protector/mock_protector_service.cc
+++ /dev/null
@@ -1,34 +0,0 @@
-// 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/protector/mock_protector_service.h"
-
-#include "chrome/browser/protector/protector_service_factory.h"
-#include "googleurl/src/gurl.h"
-
-namespace protector {
-
-namespace {
-
-ProfileKeyedService* BuildMockProtectorService(Profile* profile) {
- return new MockProtectorService(profile);
-}
-
-} // namespace
-
-// static
-MockProtectorService* MockProtectorService::BuildForProfile(Profile* profile) {
- return static_cast<MockProtectorService*>(
- ProtectorServiceFactory::GetInstance()->SetTestingFactoryAndUse(
- profile, BuildMockProtectorService));
-}
-
-MockProtectorService::MockProtectorService(Profile* profile)
- : ProtectorService(profile) {
-}
-
-MockProtectorService::~MockProtectorService() {
-}
-
-} // namespace protector
« no previous file with comments | « chrome/browser/protector/mock_protector_service.h ('k') | chrome/browser/protector/mock_setting_change.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698