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

Side by Side Diff: chrome/browser/chromeos/login/mock_auth_response_handler.cc

Issue 7006005: Move UrlFetcher to content. I originally thought that it's only used by chrome code, but turns o... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix linux Created 9 years, 6 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/chromeos/login/mock_auth_response_handler.h" 5 #include "chrome/browser/chromeos/login/mock_auth_response_handler.h"
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "base/message_loop.h" 9 #include "base/message_loop.h"
10 #include "chrome/common/net/url_fetcher.h" 10 #include "content/common/url_fetcher.h"
11 #include "googleurl/src/gurl.h" 11 #include "googleurl/src/gurl.h"
12 #include "net/url_request/url_request_status.h" 12 #include "net/url_request/url_request_status.h"
13 #include "testing/gmock/include/gmock/gmock.h" 13 #include "testing/gmock/include/gmock/gmock.h"
14 14
15 namespace chromeos { 15 namespace chromeos {
16 16
17 using ::testing::_; 17 using ::testing::_;
18 using ::testing::Invoke; 18 using ::testing::Invoke;
19 19
20 MockAuthResponseHandler::MockAuthResponseHandler( 20 MockAuthResponseHandler::MockAuthResponseHandler(
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 NewRunnableFunction(MockAuthResponseHandler::CompleteFetch, 56 NewRunnableFunction(MockAuthResponseHandler::CompleteFetch,
57 delegate, 57 delegate,
58 remote_, 58 remote_,
59 status_, 59 status_,
60 http_response_code_, 60 http_response_code_,
61 data_)); 61 data_));
62 return new URLFetcher(GURL(), URLFetcher::GET, delegate); 62 return new URLFetcher(GURL(), URLFetcher::GET, delegate);
63 } 63 }
64 64
65 } // namespace chromeos 65 } // namespace chromeos
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/login/issue_response_handler.cc ('k') | chrome/browser/chromeos/login/mock_url_fetchers.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698