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

Side by Side Diff: chrome/browser/sync/sync_js_controller.cc

Issue 7879006: Delete Tracked, and move Location to its own file. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased Created 9 years, 3 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
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 "chrome/browser/sync/sync_js_controller.h" 5 #include "chrome/browser/sync/sync_js_controller.h"
6 6
7 #include "base/tracked.h" 7 #include "base/location.h"
8 #include "chrome/browser/sync/js/js_backend.h" 8 #include "chrome/browser/sync/js/js_backend.h"
9 #include "chrome/browser/sync/js/js_event_details.h" 9 #include "chrome/browser/sync/js/js_event_details.h"
10 10
11 namespace browser_sync { 11 namespace browser_sync {
12 12
13 SyncJsController::PendingJsMessage::PendingJsMessage( 13 SyncJsController::PendingJsMessage::PendingJsMessage(
14 const std::string& name, const JsArgList& args, 14 const std::string& name, const JsArgList& args,
15 const WeakHandle<JsReplyHandler>& reply_handler) 15 const WeakHandle<JsReplyHandler>& reply_handler)
16 : name(name), args(args), reply_handler(reply_handler) {} 16 : name(name), args(args), reply_handler(reply_handler) {}
17 17
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 WeakHandle<JsEventHandler> backend_event_handler = 75 WeakHandle<JsEventHandler> backend_event_handler =
76 (js_event_handlers_.size() > 0) ? 76 (js_event_handlers_.size() > 0) ?
77 WeakHandle<JsEventHandler>(AsWeakPtr()) : 77 WeakHandle<JsEventHandler>(AsWeakPtr()) :
78 WeakHandle<JsEventHandler>(); 78 WeakHandle<JsEventHandler>();
79 js_backend_.Call(FROM_HERE, &JsBackend::SetJsEventHandler, 79 js_backend_.Call(FROM_HERE, &JsBackend::SetJsEventHandler,
80 backend_event_handler); 80 backend_event_handler);
81 } 81 }
82 } 82 }
83 83
84 } // namespace browser_sync 84 } // namespace browser_sync
OLDNEW
« no previous file with comments | « chrome/browser/sync/sessions/sync_session_unittest.cc ('k') | chrome/browser/sync/syncable/syncable.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698