electron/atom/browser
Shahzad Lone 74c29fb610 perf: and refactor: Code Scope + Minor Performance Improvement. (#16467)
* We know result's size will be same as app_metrics_'s size so optimize the vector.

Reserving a vector to save on reallocation cost.

* Narrow scopes of variables to avoid error and optimize them.

Made two vectors scope narrower and reserved them because we know the size in advance. This helps save on allocation costs.

* fix spacing
2019-01-25 09:39:32 -05:00
..
api perf: and refactor: Code Scope + Minor Performance Improvement. (#16467) 2019-01-25 09:39:32 -05:00
lib feat: Upgrade to Chromium 71.0.3578.98 (#15966) 2019-01-11 17:00:43 -08:00
loader fix: fix gn cpplint warnings (#14583) 2018-09-12 19:25:56 -05:00
mac Revert "feat: upgrade to Chromium 72.0.3626.52 (#16334)" 2019-01-22 12:01:04 -08:00
media Reorganize MediaStreamType enums 2018-12-03 20:07:40 +05:30
net Revert "feat: upgrade to Chromium 72.0.3626.52 (#16334)" 2019-01-22 12:01:04 -08:00
notifications feat: Upgrade to Chromium 71.0.3578.98 (#15966) 2019-01-11 17:00:43 -08:00
osr feat: Upgrade to Chromium 71.0.3578.98 (#15966) 2019-01-11 17:00:43 -08:00
printing feat: Upgrade to Chromium 71.0.3578.98 (#15966) 2019-01-11 17:00:43 -08:00
resources Bump v6.0.0-nightly.20190123 2019-01-23 11:49:22 -08:00
ui Update GetAccessibleName() in view::ImageView and view::Button 2019-01-22 10:32:05 -08:00
win refactor: eliminate brightray (#15240) 2018-10-24 12:49:10 +02:00
atom_blob_reader.cc feat: Upgrade to Chromium 71.0.3578.98 (#15966) 2019-01-11 17:00:43 -08:00
atom_blob_reader.h fix: fix gn cpplint warnings (#14583) 2018-09-12 19:25:56 -05:00
atom_browser_client.cc Merge remote-tracking branch 'origin/chromium-upgrade/72' 2019-01-22 12:01:18 -08:00
atom_browser_client.h Revert "feat: upgrade to Chromium 72.0.3626.52 (#16334)" 2019-01-22 12:01:04 -08:00
atom_browser_context.cc Revert "feat: upgrade to Chromium 72.0.3626.52 (#16334)" 2019-01-22 12:01:04 -08:00
atom_browser_context.h GetCachePath replaced with GetGeneratedCodeCacheSettings 2019-01-22 10:32:04 -08:00
atom_browser_main_parts.cc Revert "feat: upgrade to Chromium 72.0.3626.52 (#16334)" 2019-01-22 12:01:04 -08:00
atom_browser_main_parts.h Revert "feat: upgrade to Chromium 72.0.3626.52 (#16334)" 2019-01-22 12:01:04 -08:00
atom_browser_main_parts_mac.mm refactor: eliminate brightray (#15240) 2018-10-24 12:49:10 +02:00
atom_browser_main_parts_posix.cc feat: Upgrade to Chromium 71.0.3578.98 (#15966) 2019-01-11 17:00:43 -08:00
atom_download_manager_delegate.cc Complete TaskPriority::BACKGROUND->BEST_EFFORT mass rename 2018-12-03 20:07:40 +05:30
atom_download_manager_delegate.h feat: add methods to allow customization of save dialog during will-download event (#15497) 2018-11-08 10:51:06 -04:00
atom_javascript_dialog_manager.cc Remove WebContentsUserData::kLocatorKey 2018-10-09 14:38:00 -07:00
atom_javascript_dialog_manager.h Give the JS dialog manager the alerting frame. 2018-06-19 11:49:42 +10:00
atom_navigation_throttle.cc refactor: remove WebContents::CreateFrom (#15241) 2018-10-19 17:52:07 +09:00
atom_navigation_throttle.h feat: add will-redirect (#13866) 2018-09-16 01:42:43 +10:00
atom_paths.h refactor: eliminate brightray (#15240) 2018-10-24 12:49:10 +02:00
atom_permission_manager.cc Change SubscribePermissionStatusChange to use a RFH to query permissions 2018-12-03 20:07:39 +05:30
atom_permission_manager.h Change SubscribePermissionStatusChange to use a RFH to query permissions 2018-12-03 20:07:39 +05:30
atom_quota_permission_context.cc Fix includes in AtomQuotaPermissionContext 2018-06-19 11:49:41 +10:00
atom_quota_permission_context.h Fix includes in AtomQuotaPermissionContext 2018-06-19 11:49:41 +10:00
atom_resource_dispatcher_host_delegate.cc feat: Upgrade to Chromium 71.0.3578.98 (#15966) 2019-01-11 17:00:43 -08:00
atom_resource_dispatcher_host_delegate.h Handle external protocols with the network service. 2018-09-11 20:24:03 +02:00
atom_speech_recognition_manager_delegate.cc Remove content::SpeechRecognitionResult 2018-10-09 14:38:00 -07:00
atom_speech_recognition_manager_delegate.h Remove content::SpeechRecognitionResult 2018-10-09 14:38:00 -07:00
atom_web_ui_controller_factory.cc refactor: move devtools from brightray to atom (#15234) 2018-10-19 15:50:30 +02:00
atom_web_ui_controller_factory.h Change CreateWebUIControllerForURL() to return a unique_ptr 2018-10-09 14:38:00 -07:00
auto_updater.cc also format missing .cc files 2018-04-18 20:48:45 -04:00
auto_updater.h clang-format atom files 2018-04-18 20:48:45 -04:00
auto_updater_mac.mm clang-format objc files (#12673) 2018-04-20 11:47:04 -07:00
browser.cc refactor: eliminate brightray (#15240) 2018-10-24 12:49:10 +02:00
browser.h feat: add about panel customization on linux (#15658) 2018-11-13 17:12:24 -05:00
browser_linux.cc feat: add about panel customization on linux (#15658) 2018-11-13 17:12:24 -05:00
browser_mac.mm Revert "feat: upgrade to Chromium 72.0.3626.52 (#16334)" 2019-01-22 12:01:04 -08:00
browser_observer.h chore: make BrowserObserver a CheckedObserver 2018-12-03 20:07:38 +05:30
browser_process_impl.cc resource_coordinator_parts stub in BrowserProcessImpl 2019-01-22 10:32:05 -08:00
browser_process_impl.h Revert "feat: upgrade to Chromium 72.0.3626.52 (#16334)" 2019-01-22 12:01:04 -08:00
browser_win.cc refactor: eliminate brightray (#15240) 2018-10-24 12:49:10 +02:00
child_web_contents_tracker.h refactor: remove potential double free when managing WebContents (#15280) 2018-10-22 13:02:25 -05:00
common_web_contents_delegate.cc Revert "feat: upgrade to Chromium 72.0.3626.52 (#16334)" 2019-01-22 12:01:04 -08:00
common_web_contents_delegate.h Revert "feat: upgrade to Chromium 72.0.3626.52 (#16334)" 2019-01-22 12:01:04 -08:00
common_web_contents_delegate_mac.mm fix HandleKeyboardEvent merge failure 2019-01-22 10:32:06 -08:00
common_web_contents_delegate_views.cc HandleKeyboardEvent returns bool 2019-01-22 10:32:03 -08:00
cookie_change_notifier.cc refactor: create request context from network context (#14656) 2018-10-04 13:08:56 -05:00
cookie_change_notifier.h refactor: create request context from network context (#14656) 2018-10-04 13:08:56 -05:00
fake_location_provider.cc fix: opt into location services once device service has been started (#14253) 2018-08-23 08:51:46 -07:00
fake_location_provider.h Port //services/device/geolocation to network::SimpleURLLoader 2018-10-09 14:38:00 -07:00
font_defaults.cc fix: match Chrome's font fallback behavior (#15486) 2018-11-08 10:51:51 -04:00
font_defaults.h fix: match Chrome's font fallback behavior (#15486) 2018-11-08 10:51:51 -04:00
io_thread.cc fix: initialize system network context from IOThread 2018-11-14 12:42:24 +05:30
io_thread.h fix: initialize system network context from IOThread 2018-11-14 12:42:24 +05:30
javascript_environment.cc chore: SetTracingController becomes SetAgent and corresponing contructions updated 2018-12-03 20:07:41 +05:30
javascript_environment.h fix: add microtask runner and fix promise test (#15071) 2018-10-16 02:26:47 +11:00
login_handler.cc feat: Upgrade to Chromium 71.0.3578.98 (#15966) 2019-01-11 17:00:43 -08:00
login_handler.h Merge pull request #14972 from electron/chromium-upgrade/69 2018-10-10 15:29:21 +11:00
microtasks_runner.cc fix: add microtask runner and fix promise test (#15071) 2018-10-16 02:26:47 +11:00
microtasks_runner.h fix: add microtask runner and fix promise test (#15071) 2018-10-16 02:26:47 +11:00
native_browser_view.cc refactor: move devtools from brightray to atom (#15234) 2018-10-19 15:50:30 +02:00
native_browser_view.h refactor: move devtools from brightray to atom (#15234) 2018-10-19 15:50:30 +02:00
native_browser_view_mac.h refactor: move devtools from brightray to atom (#15234) 2018-10-19 15:50:30 +02:00
native_browser_view_mac.mm gfx::NativeView is no longer NSView on mac 2019-01-22 10:32:04 -08:00
native_browser_view_views.cc fix: schedule a paint after browserview's background is set (#15784) 2018-11-21 13:04:10 -06:00
native_browser_view_views.h refactor: move devtools from brightray to atom (#15234) 2018-10-19 15:50:30 +02:00
native_window.cc feat: implement 'app-command' events for browser history navigation keys on Linux (#15441) 2018-12-05 09:35:59 -08:00
native_window.h feat: add multi BrowserView support to BrowserWindow (#16148) 2018-12-22 10:49:26 +09:00
native_window_mac.h feat: add multi BrowserView support to BrowserWindow (#16148) 2018-12-22 10:49:26 +09:00
native_window_mac.mm Revert "feat: upgrade to Chromium 72.0.3626.52 (#16334)" 2019-01-22 12:01:04 -08:00
native_window_observer.h feat: implement 'app-command' events for browser history navigation keys on Linux (#15441) 2018-12-05 09:35:59 -08:00
native_window_views.cc Revert "feat: upgrade to Chromium 72.0.3626.52 (#16334)" 2019-01-22 12:01:04 -08:00
native_window_views.h Revert "feat: upgrade to Chromium 72.0.3626.52 (#16334)" 2019-01-22 12:01:04 -08:00
native_window_views_win.cc feat: implement 'app-command' events for browser history navigation keys on Linux (#15441) 2018-12-05 09:35:59 -08:00
node_debugger.cc feat: Upgrade to Chromium 71.0.3578.98 (#15966) 2019-01-11 17:00:43 -08:00
node_debugger.h inspector: stop dragging platform pointer 2018-09-11 20:24:03 +02:00
pref_store_delegate.cc refactor: create request context from network context (#14656) 2018-10-04 13:08:56 -05:00
pref_store_delegate.h refactor: create request context from network context (#14656) 2018-10-04 13:08:56 -05:00
relauncher.cc PathService -> base::PathService 2018-10-04 00:12:54 +02:00
relauncher.h Correctly quotes the argv on Windows 2016-06-02 21:10:39 +09:00
relauncher_linux.cc fix relaunch on linux (#14975) 2018-10-04 18:41:37 -05:00
relauncher_mac.cc also format missing .cc files 2018-04-18 20:48:45 -04:00
relauncher_win.cc also format missing .cc files 2018-04-18 20:48:45 -04:00
render_process_preferences.cc refactor: replace base::Value::DeepCopy and CreateDeepCopy with Clone (#14420) 2018-09-02 17:38:35 -05:00
render_process_preferences.h Refactoring: use C++11 class member variable initialization 2018-05-22 00:18:38 +02:00
session_preferences.cc also format missing .cc files 2018-04-18 20:48:45 -04:00
session_preferences.h clang-format atom files 2018-04-18 20:48:45 -04:00
special_storage_policy.cc Handle deleting cookies with session-only policy in network service 2018-10-09 14:38:00 -07:00
special_storage_policy.h Handle deleting cookies with session-only policy in network service 2018-10-09 14:38:00 -07:00
unresponsive_suppressor.cc Replace DialogScope with UnresponsiveSuppressor 2016-07-11 15:29:03 +09:00
unresponsive_suppressor.h Replace DialogScope with UnresponsiveSuppressor 2016-07-11 15:29:03 +09:00
web_contents_permission_helper.cc fix: Remove DEFINE_WEB_CONTENTS_USER_DATA_KEY in //electron. 2018-12-03 20:07:39 +05:30
web_contents_permission_helper.h chore: add --fix option to lint:cpp (#14977) 2018-10-15 22:59:45 -07:00
web_contents_preferences.cc Merge remote-tracking branch 'origin/chromium-upgrade/72' 2019-01-22 12:01:18 -08:00
web_contents_preferences.h feat: add webPreferences.enableRemoteModule option (#13028) 2018-10-13 20:50:07 +03:00
web_contents_zoom_controller.cc fix: Remove DEFINE_WEB_CONTENTS_USER_DATA_KEY in //electron. 2018-12-03 20:07:39 +05:30
web_contents_zoom_controller.h chore: make BrowserObserver a CheckedObserver 2018-12-03 20:07:38 +05:30
web_dialog_helper.cc Revert "feat: upgrade to Chromium 72.0.3626.52 (#16334)" 2019-01-22 12:01:04 -08:00
web_dialog_helper.h feat: Upgrade to Chromium 71.0.3578.98 (#15966) 2019-01-11 17:00:43 -08:00
web_view_guest_delegate.cc Revert "feat: upgrade to Chromium 72.0.3626.52 (#16334)" 2019-01-22 12:01:04 -08:00
web_view_guest_delegate.h fix: use OOPIF for webview tag (#13869) 2018-08-16 15:57:40 -07:00
web_view_manager.cc [chromium-style] auto variable type must not deduce to a raw pointer type 2018-04-19 11:10:52 -07:00
web_view_manager.h clang-format atom files 2018-04-18 20:48:45 -04:00
window_list.cc [chromium-style] auto variable type must not deduce to a raw pointer type 2018-04-19 11:10:52 -07:00
window_list.h Add IsEmpty helper and remove GetInstance public usage 2017-04-11 09:09:17 -07:00
window_list_observer.h chore: make BrowserObserver a CheckedObserver 2018-12-03 20:07:38 +05:30
zoom_level_delegate.cc refactor: move media/net from brightray to atom (#15288) 2018-10-19 14:51:43 -04:00
zoom_level_delegate.h refactor: move media/net from brightray to atom (#15288) 2018-10-19 14:51:43 -04:00