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

Side by Side Diff: chrome/browser/extensions/api/bookmark_manager_private/bookmark_manager_private_api.cc

Issue 12089062: Move API functions registrations out of ExtensionFunctionRegistry. (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: Created 7 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 | Annotate | Revision Log
None
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 "chrome/browser/extensions/api/bookmark_manager_private/bookmark_manage r_private_api.h" 5 #include "chrome/browser/extensions/api/bookmark_manager_private/bookmark_manage r_private_api.h"
6 6
7 #include <vector> 7 #include <vector>
8 8
9 #include "base/lazy_instance.h" 9 #include "base/lazy_instance.h"
10 #include "base/memory/linked_ptr.h" 10 #include "base/memory/linked_ptr.h"
(...skipping 219 matching lines...) Expand 10 before | Expand all | Expand 10 after
230 void BookmarkManagerPrivateAPI::OnListenerAdded( 230 void BookmarkManagerPrivateAPI::OnListenerAdded(
231 const EventListenerInfo& details) { 231 const EventListenerInfo& details) {
232 ExtensionSystem::Get(browser_context_)->event_router()->UnregisterObserver( 232 ExtensionSystem::Get(browser_context_)->event_router()->UnregisterObserver(
233 this); 233 this);
234 event_router_.reset(new BookmarkManagerPrivateEventRouter( 234 event_router_.reset(new BookmarkManagerPrivateEventRouter(
235 browser_context_, 235 browser_context_,
236 BookmarkModelFactory::GetForProfile( 236 BookmarkModelFactory::GetForProfile(
237 Profile::FromBrowserContext(browser_context_)))); 237 Profile::FromBrowserContext(browser_context_))));
238 } 238 }
239 239

error: old chunk mismatch

OLDNEW

Powered by Google App Engine
This is Rietveld 408576698