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

Side by Side Diff: chrome/browser/extensions/api/gcm/gcm_apitest.cc

Issue 2657823005: Move //c/b/services/gcm/ to //c/b/gcm/ (Closed)
Patch Set: Created 3 years, 11 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 2013 The Chromium Authors. All rights reserved. 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 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/run_loop.h" 5 #include "base/run_loop.h"
6 #include "chrome/browser/extensions/api/gcm/gcm_api.h" 6 #include "chrome/browser/extensions/api/gcm/gcm_api.h"
7 #include "chrome/browser/extensions/extension_apitest.h" 7 #include "chrome/browser/extensions/extension_apitest.h"
8 #include "chrome/browser/extensions/extension_gcm_app_handler.h" 8 #include "chrome/browser/extensions/extension_gcm_app_handler.h"
9 #include "chrome/browser/gcm/fake_gcm_profile_service.h"
10 #include "chrome/browser/gcm/gcm_profile_service_factory.h"
9 #include "chrome/browser/profiles/profile.h" 11 #include "chrome/browser/profiles/profile.h"
10 #include "chrome/browser/services/gcm/fake_gcm_profile_service.h"
11 #include "chrome/browser/services/gcm/gcm_profile_service_factory.h"
12 #include "chrome/common/chrome_switches.h" 12 #include "chrome/common/chrome_switches.h"
13 #include "chrome/test/base/ui_test_utils.h" 13 #include "chrome/test/base/ui_test_utils.h"
14 #include "components/browser_sync/browser_sync_switches.h" 14 #include "components/browser_sync/browser_sync_switches.h"
15 #include "extensions/test/result_catcher.h" 15 #include "extensions/test/result_catcher.h"
16 16
17 using extensions::ResultCatcher; 17 using extensions::ResultCatcher;
18 18
19 namespace { 19 namespace {
20 20
21 const char kEventsExtension[] = "gcm/events"; 21 const char kEventsExtension[] = "gcm/events";
(...skipping 237 matching lines...) Expand 10 before | Expand all | Expand 10 after
259 incognito_catcher.RestrictToBrowserContext( 259 incognito_catcher.RestrictToBrowserContext(
260 profile()->GetOffTheRecordProfile()); 260 profile()->GetOffTheRecordProfile());
261 261
262 ASSERT_TRUE(RunExtensionTestIncognito("gcm/functions/incognito")); 262 ASSERT_TRUE(RunExtensionTestIncognito("gcm/functions/incognito"));
263 263
264 EXPECT_TRUE(catcher.GetNextResult()) << catcher.message(); 264 EXPECT_TRUE(catcher.GetNextResult()) << catcher.message();
265 EXPECT_TRUE(incognito_catcher.GetNextResult()) << incognito_catcher.message(); 265 EXPECT_TRUE(incognito_catcher.GetNextResult()) << incognito_catcher.message();
266 } 266 }
267 267
268 } // namespace extensions 268 } // namespace extensions
OLDNEW
« no previous file with comments | « chrome/browser/extensions/api/gcm/gcm_api.cc ('k') | chrome/browser/extensions/api/instance_id/instance_id_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698