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

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

Issue 5606002: Move:... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 10 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
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 "base/message_loop.h" 5 #include "base/message_loop.h"
6 #include "chrome/browser/browser_thread.h" 6 #include "chrome/browser/browser_thread.h"
7 #include "chrome/browser/policy/device_management_backend_mock.h" 7 #include "chrome/browser/policy/device_management_backend_mock.h"
8 #include "chrome/browser/policy/device_management_service.h" 8 #include "chrome/browser/policy/device_management_service.h"
9 #include "chrome/browser/policy/proto/device_management_constants.h" 9 #include "chrome/browser/policy/proto/device_management_constants.h"
10 #include "chrome/browser/profile.h" 10 #include "chrome/browser/profiles/profile.h"
11 #include "chrome/browser/ui/browser.h" 11 #include "chrome/browser/ui/browser.h"
12 #include "chrome/test/in_process_browser_test.h" 12 #include "chrome/test/in_process_browser_test.h"
13 #include "net/test/test_server.h" 13 #include "net/test/test_server.h"
14 #include "net/url_request/url_request.h" 14 #include "net/url_request/url_request.h"
15 #include "net/url_request/url_request_test_job.h" 15 #include "net/url_request/url_request_test_job.h"
16 #include "testing/gtest/include/gtest/gtest.h" 16 #include "testing/gtest/include/gtest/gtest.h"
17 #include "testing/gmock/include/gmock/gmock.h" 17 #include "testing/gmock/include/gmock/gmock.h"
18 18
19 using testing::_; 19 using testing::_;
20 using testing::DoAll; 20 using testing::DoAll;
(...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after
180 EXPECT_CALL(delegate, HandleUnregisterResponse(_)) 180 EXPECT_CALL(delegate, HandleUnregisterResponse(_))
181 .WillOnce(InvokeWithoutArgs(QuitMessageLoop)); 181 .WillOnce(InvokeWithoutArgs(QuitMessageLoop));
182 em::DeviceUnregisterRequest request; 182 em::DeviceUnregisterRequest request;
183 backend->ProcessUnregisterRequest(token_, "testid", request, &delegate); 183 backend->ProcessUnregisterRequest(token_, "testid", request, &delegate);
184 184
185 MessageLoop::current()->Run(); 185 MessageLoop::current()->Run();
186 } 186 }
187 } 187 }
188 188
189 } // namespace policy 189 } // namespace policy
OLDNEW
« no previous file with comments | « chrome/browser/policy/device_management_policy_provider.cc ('k') | chrome/browser/policy/device_token_fetcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698