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

Side by Side Diff: sync/js/js_test_util.cc

Issue 1545553003: Switch to standard integer types in sync/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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
« no previous file with comments | « sync/internal_api/write_transaction.cc ('k') | sync/js/sync_js_controller.h » ('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 "sync/js/js_test_util.h" 5 #include "sync/js/js_test_util.h"
6 6
7 #include "base/basictypes.h" 7 #include "base/macros.h"
8 #include "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
9 #include "sync/js/js_event_details.h" 9 #include "sync/js/js_event_details.h"
10 10
11 namespace syncer { 11 namespace syncer {
12 12
13 void PrintTo(const JsEventDetails& details, ::std::ostream* os) { 13 void PrintTo(const JsEventDetails& details, ::std::ostream* os) {
14 *os << details.ToString(); 14 *os << details.ToString();
15 } 15 }
16 16
17 namespace { 17 namespace {
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 MockJsEventHandler::MockJsEventHandler() {} 75 MockJsEventHandler::MockJsEventHandler() {}
76 76
77 WeakHandle<JsEventHandler> MockJsEventHandler::AsWeakHandle() { 77 WeakHandle<JsEventHandler> MockJsEventHandler::AsWeakHandle() {
78 return MakeWeakHandle(AsWeakPtr()); 78 return MakeWeakHandle(AsWeakPtr());
79 } 79 }
80 80
81 MockJsEventHandler::~MockJsEventHandler() {} 81 MockJsEventHandler::~MockJsEventHandler() {}
82 82
83 } // namespace syncer 83 } // namespace syncer
84 84
OLDNEW
« no previous file with comments | « sync/internal_api/write_transaction.cc ('k') | sync/js/sync_js_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698