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

Side by Side Diff: chrome/browser/policy/cloud/mock_cloud_external_data_manager.cc

Issue 109743002: Move policy code into components/policy. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: moar fixes Created 7 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright 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.
4
5 #include "chrome/browser/policy/cloud/mock_cloud_external_data_manager.h"
6
7 #include "base/callback.h"
8 #include "base/memory/weak_ptr.h"
9 #include "components/policy/core/common/external_data_fetcher.h"
10 #include "net/url_request/url_request_context_getter.h"
11
12 namespace policy {
13
14 MockCloudExternalDataManager::MockCloudExternalDataManager() {
15 }
16
17 MockCloudExternalDataManager::~MockCloudExternalDataManager() {
18 }
19
20 scoped_ptr<ExternalDataFetcher>
21 MockCloudExternalDataManager::CreateExternalDataFetcher(
22 const std::string& policy) {
23 return make_scoped_ptr(new ExternalDataFetcher(weak_factory_.GetWeakPtr(),
24 policy));
25 }
26
27 } // namespace policy
OLDNEW
« no previous file with comments | « chrome/browser/policy/cloud/mock_cloud_external_data_manager.h ('k') | chrome/browser/policy/cloud/mock_cloud_policy_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698