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

Side by Side Diff: chrome/browser/gcm/gcm_profile_service_unittest.cc

Issue 2657823005: Move //c/b/services/gcm/ to //c/b/gcm/ (Closed)
Patch Set: Created 3 years, 10 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 <memory> 5 #include <memory>
6 #include <vector> 6 #include <vector>
7 7
8 #include "base/bind.h" 8 #include "base/bind.h"
9 #include "base/bind_helpers.h" 9 #include "base/bind_helpers.h"
10 #include "base/callback.h" 10 #include "base/callback.h"
11 #include "base/macros.h" 11 #include "base/macros.h"
12 #include "base/memory/ptr_util.h" 12 #include "base/memory/ptr_util.h"
13 #include "base/run_loop.h" 13 #include "base/run_loop.h"
14 #include "build/build_config.h" 14 #include "build/build_config.h"
15 #include "chrome/browser/services/gcm/gcm_product_util.h" 15 #include "chrome/browser/gcm/gcm_product_util.h"
16 #include "chrome/browser/services/gcm/gcm_profile_service_factory.h" 16 #include "chrome/browser/gcm/gcm_profile_service_factory.h"
17 #include "chrome/browser/signin/profile_oauth2_token_service_factory.h" 17 #include "chrome/browser/signin/profile_oauth2_token_service_factory.h"
18 #include "chrome/browser/signin/signin_manager_factory.h" 18 #include "chrome/browser/signin/signin_manager_factory.h"
19 #include "chrome/browser/ui/webui/signin/login_ui_service_factory.h" 19 #include "chrome/browser/ui/webui/signin/login_ui_service_factory.h"
20 #include "chrome/common/channel_info.h" 20 #include "chrome/common/channel_info.h"
21 #include "chrome/test/base/testing_profile.h" 21 #include "chrome/test/base/testing_profile.h"
22 #include "components/gcm_driver/gcm_profile_service.h" 22 #include "components/gcm_driver/gcm_profile_service.h"
23 #if defined(OS_CHROMEOS) 23 #if defined(OS_CHROMEOS)
24 #include "chromeos/dbus/dbus_thread_manager.h" 24 #include "chromeos/dbus/dbus_thread_manager.h"
25 #endif 25 #endif
26 #include "components/gcm_driver/fake_gcm_app_handler.h" 26 #include "components/gcm_driver/fake_gcm_app_handler.h"
(...skipping 217 matching lines...) Expand 10 before | Expand all | Expand 10 after
244 OutgoingMessage message; 244 OutgoingMessage message;
245 message.id = "1"; 245 message.id = "1";
246 message.data["key1"] = "value1"; 246 message.data["key1"] = "value1";
247 SendAndWaitForCompletion(message); 247 SendAndWaitForCompletion(message);
248 248
249 EXPECT_EQ(message.id, send_message_id()); 249 EXPECT_EQ(message.id, send_message_id());
250 EXPECT_EQ(GCMClient::SUCCESS, send_result()); 250 EXPECT_EQ(GCMClient::SUCCESS, send_result());
251 } 251 }
252 252
253 } // namespace gcm 253 } // namespace gcm
OLDNEW
« no previous file with comments | « chrome/browser/gcm/gcm_profile_service_factory.cc ('k') | chrome/browser/gcm/instance_id/instance_id_profile_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698