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

Side by Side Diff: chrome/browser/policy/testing_policy_url_fetcher_factory.cc

Issue 7264019: Readability review for gfeher (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase on CLs 7147015 and 7298012 Created 9 years, 5 months 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
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/policy/testing_policy_url_fetcher_factory.h" 5 #include "chrome/browser/policy/testing_policy_url_fetcher_factory.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/callback.h" 8 #include "base/callback.h"
9 #include "chrome/browser/policy/logging_work_scheduler.h" 9 #include "chrome/browser/policy/logging_work_scheduler.h"
10 #include "googleurl/src/url_parse.h" 10 #include "googleurl/src/url_parse.h"
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 URLFetcher* TestingPolicyURLFetcherFactory::CreateURLFetcher( 115 URLFetcher* TestingPolicyURLFetcherFactory::CreateURLFetcher(
116 int id, 116 int id,
117 const GURL& url, 117 const GURL& url,
118 URLFetcher::RequestType request_type, 118 URLFetcher::RequestType request_type,
119 URLFetcher::Delegate* delegate) { 119 URLFetcher::Delegate* delegate) {
120 return new TestingPolicyURLFetcher( 120 return new TestingPolicyURLFetcher(
121 weak_ptr_factory_.GetWeakPtr(), url, request_type, delegate); 121 weak_ptr_factory_.GetWeakPtr(), url, request_type, delegate);
122 } 122 }
123 123
124 } // namespace policy 124 } // namespace policy
125
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698