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

Side by Side Diff: chrome/browser/extensions/extension_function_dispatcher.cc

Issue 9358073: First version of the time slicing on the urls. Not ready for review yet. Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: added relative time to time slicing Created 8 years, 9 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 | « chrome/browser/browser_resources.grd ('k') | chrome/browser/history/history.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 "chrome/browser/extensions/extension_function_dispatcher.h" 5 #include "chrome/browser/extensions/extension_function_dispatcher.h"
6 6
7 #include <map> 7 #include <map>
8 8
9 #include "base/json/json_string_value_serializer.h" 9 #include "base/json/json_string_value_serializer.h"
10 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
(...skipping 222 matching lines...) Expand 10 before | Expand all | Expand 10 after
233 RegisterFunction<StartDragBookmarkManagerFunction>(); 233 RegisterFunction<StartDragBookmarkManagerFunction>();
234 RegisterFunction<DropBookmarkManagerFunction>(); 234 RegisterFunction<DropBookmarkManagerFunction>();
235 RegisterFunction<GetSubtreeBookmarkManagerFunction>(); 235 RegisterFunction<GetSubtreeBookmarkManagerFunction>();
236 RegisterFunction<CanEditBookmarkManagerFunction>(); 236 RegisterFunction<CanEditBookmarkManagerFunction>();
237 237
238 // History 238 // History
239 RegisterFunction<AddUrlHistoryFunction>(); 239 RegisterFunction<AddUrlHistoryFunction>();
240 RegisterFunction<DeleteAllHistoryFunction>(); 240 RegisterFunction<DeleteAllHistoryFunction>();
241 RegisterFunction<DeleteRangeHistoryFunction>(); 241 RegisterFunction<DeleteRangeHistoryFunction>();
242 RegisterFunction<DeleteUrlHistoryFunction>(); 242 RegisterFunction<DeleteUrlHistoryFunction>();
243 RegisterFunction<GetMostVisitedHistoryFunction>();
243 RegisterFunction<GetVisitsHistoryFunction>(); 244 RegisterFunction<GetVisitsHistoryFunction>();
244 RegisterFunction<SearchHistoryFunction>(); 245 RegisterFunction<SearchHistoryFunction>();
245 246
246 // Idle 247 // Idle
247 RegisterFunction<ExtensionIdleQueryStateFunction>(); 248 RegisterFunction<ExtensionIdleQueryStateFunction>();
248 249
249 // I18N. 250 // I18N.
250 RegisterFunction<GetAcceptLanguagesFunction>(); 251 RegisterFunction<GetAcceptLanguagesFunction>();
251 252
252 // Processes. 253 // Processes.
(...skipping 534 matching lines...) Expand 10 before | Expand all | Expand 10 after
787 return function; 788 return function;
788 } 789 }
789 790
790 // static 791 // static
791 void ExtensionFunctionDispatcher::SendAccessDenied( 792 void ExtensionFunctionDispatcher::SendAccessDenied(
792 IPC::Message::Sender* ipc_sender, int routing_id, int request_id) { 793 IPC::Message::Sender* ipc_sender, int routing_id, int request_id) {
793 ipc_sender->Send(new ExtensionMsg_Response( 794 ipc_sender->Send(new ExtensionMsg_Response(
794 routing_id, request_id, false, std::string(), 795 routing_id, request_id, false, std::string(),
795 "Access to extension API denied.")); 796 "Access to extension API denied."));
796 } 797 }
OLDNEW
« no previous file with comments | « chrome/browser/browser_resources.grd ('k') | chrome/browser/history/history.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698