[go: nahoru, domu]

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: sync/notifier/sync_notifier_helper_unittest.cc
Issue 10796051: Change protoc build rule to not use cygwin bash. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix the additional paths Created 8 years, 4 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
« no previous file with comments | « sync/notifier/push_client_channel.cc ('k') | third_party/cacheinvalidation/README.chromium » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 "google/cacheinvalidation/v2/types.pb.h" 5 #include "google/cacheinvalidation/types.pb.h"
6 #include "sync/notifier/sync_notifier_helper.h" 6 #include "sync/notifier/sync_notifier_helper.h"
7 #include "sync/notifier/mock_sync_notifier_observer.h" 7 #include "sync/notifier/mock_sync_notifier_observer.h"
8 #include "testing/gtest/include/gtest/gtest.h" 8 #include "testing/gtest/include/gtest/gtest.h"
9 9
10 using testing::StrictMock; 10 using testing::StrictMock;
11 11
12 namespace syncer { 12 namespace syncer {
13 13
14 class SyncNotifierHelperTest : public testing::Test { 14 class SyncNotifierHelperTest : public testing::Test {
15 protected: 15 protected:
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after
147 dispatched_payloads[kObjectId1] = "1"; 147 dispatched_payloads[kObjectId1] = "1";
148 dispatched_payloads[kObjectId2] = "2"; 148 dispatched_payloads[kObjectId2] = "2";
149 dispatched_payloads[kObjectId3] = "3"; 149 dispatched_payloads[kObjectId3] = "3";
150 helper.DispatchInvalidationsToHandlers(dispatched_payloads, 150 helper.DispatchInvalidationsToHandlers(dispatched_payloads,
151 REMOTE_NOTIFICATION); 151 REMOTE_NOTIFICATION);
152 helper.EmitOnNotificationsEnabled(); 152 helper.EmitOnNotificationsEnabled();
153 helper.EmitOnNotificationsDisabled(TRANSIENT_NOTIFICATION_ERROR); 153 helper.EmitOnNotificationsDisabled(TRANSIENT_NOTIFICATION_ERROR);
154 } 154 }
155 155
156 } // namespace syncer 156 } // namespace syncer
OLDNEW
« no previous file with comments | « sync/notifier/push_client_channel.cc ('k') | third_party/cacheinvalidation/README.chromium » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698