Sat, 03 Jan 2015 20:18:00 +0100
Conditionally enable double key logic according to:
private browsing mode or privacy.thirdparty.isolate preference and
implement in GetCookieStringCommon and FindCookie where it counts...
With some reservations of how to convince FindCookie users to test
condition and pass a nullptr when disabling double key logic.
michael@0 | 1 | # -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*- |
michael@0 | 2 | # vim: set filetype=python: |
michael@0 | 3 | # This Source Code Form is subject to the terms of the Mozilla Public |
michael@0 | 4 | # License, v. 2.0. If a copy of the MPL was not distributed with this |
michael@0 | 5 | # file, You can obtain one at http://mozilla.org/MPL/2.0/. |
michael@0 | 6 | |
michael@0 | 7 | if CONFIG['MOZ_PLACES']: |
michael@0 | 8 | TEST_DIRS += ['tests'] |
michael@0 | 9 | |
michael@0 | 10 | XPIDL_SOURCES += [ |
michael@0 | 11 | 'nsINavHistoryService.idl', |
michael@0 | 12 | ] |
michael@0 | 13 | |
michael@0 | 14 | XPIDL_MODULE = 'places' |
michael@0 | 15 | |
michael@0 | 16 | if CONFIG['MOZ_PLACES']: |
michael@0 | 17 | MSVC_ENABLE_PGO = True |
michael@0 | 18 | |
michael@0 | 19 | XPIDL_SOURCES += [ |
michael@0 | 20 | 'mozIAsyncFavicons.idl', |
michael@0 | 21 | 'mozIAsyncHistory.idl', |
michael@0 | 22 | 'mozIAsyncLivemarks.idl', |
michael@0 | 23 | 'mozIColorAnalyzer.idl', |
michael@0 | 24 | 'mozIPlacesAutoComplete.idl', |
michael@0 | 25 | 'nsIAnnotationService.idl', |
michael@0 | 26 | 'nsIBrowserHistory.idl', |
michael@0 | 27 | 'nsIFaviconService.idl', |
michael@0 | 28 | 'nsINavBookmarksService.idl', |
michael@0 | 29 | 'nsITaggingService.idl', |
michael@0 | 30 | 'nsPIPlacesDatabase.idl', |
michael@0 | 31 | 'nsPIPlacesHistoryListenersNotifier.idl', |
michael@0 | 32 | ] |
michael@0 | 33 | |
michael@0 | 34 | EXPORTS.mozilla.places = [ |
michael@0 | 35 | 'Database.h', |
michael@0 | 36 | 'History.h', |
michael@0 | 37 | ] |
michael@0 | 38 | |
michael@0 | 39 | UNIFIED_SOURCES += [ |
michael@0 | 40 | 'AsyncFaviconHelpers.cpp', |
michael@0 | 41 | 'Database.cpp', |
michael@0 | 42 | 'Helpers.cpp', |
michael@0 | 43 | 'History.cpp', |
michael@0 | 44 | 'nsAnnoProtocolHandler.cpp', |
michael@0 | 45 | 'nsAnnotationService.cpp', |
michael@0 | 46 | 'nsFaviconService.cpp', |
michael@0 | 47 | 'nsMaybeWeakPtr.cpp', |
michael@0 | 48 | 'nsNavBookmarks.cpp', |
michael@0 | 49 | 'nsNavHistory.cpp', |
michael@0 | 50 | 'nsNavHistoryQuery.cpp', |
michael@0 | 51 | 'nsNavHistoryResult.cpp', |
michael@0 | 52 | 'nsPlacesModule.cpp', |
michael@0 | 53 | 'PlaceInfo.cpp', |
michael@0 | 54 | 'SQLFunctions.cpp', |
michael@0 | 55 | 'VisitInfo.cpp', |
michael@0 | 56 | ] |
michael@0 | 57 | |
michael@0 | 58 | LOCAL_INCLUDES += [ |
michael@0 | 59 | '../build', |
michael@0 | 60 | ] |
michael@0 | 61 | |
michael@0 | 62 | EXTRA_JS_MODULES = [ |
michael@0 | 63 | 'BookmarkHTMLUtils.jsm', |
michael@0 | 64 | 'BookmarkJSONUtils.jsm', |
michael@0 | 65 | 'ClusterLib.js', |
michael@0 | 66 | 'ColorAnalyzer_worker.js', |
michael@0 | 67 | 'ColorConversion.js', |
michael@0 | 68 | 'PlacesBackups.jsm', |
michael@0 | 69 | 'PlacesDBUtils.jsm', |
michael@0 | 70 | 'PlacesTransactions.jsm', |
michael@0 | 71 | 'PriorityUrlProvider.jsm' |
michael@0 | 72 | ] |
michael@0 | 73 | |
michael@0 | 74 | EXTRA_PP_JS_MODULES += [ |
michael@0 | 75 | 'PlacesUtils.jsm', |
michael@0 | 76 | ] |
michael@0 | 77 | |
michael@0 | 78 | EXTRA_COMPONENTS += [ |
michael@0 | 79 | 'ColorAnalyzer.js', |
michael@0 | 80 | 'nsLivemarkService.js', |
michael@0 | 81 | 'nsPlacesExpiration.js', |
michael@0 | 82 | 'nsTaggingService.js', |
michael@0 | 83 | 'PlacesCategoriesStarter.js', |
michael@0 | 84 | 'toolkitplaces.manifest', |
michael@0 | 85 | ] |
michael@0 | 86 | if CONFIG['MOZ_XUL']: |
michael@0 | 87 | EXTRA_COMPONENTS += [ |
michael@0 | 88 | 'nsPlacesAutoComplete.js', |
michael@0 | 89 | 'nsPlacesAutoComplete.manifest', |
michael@0 | 90 | 'UnifiedComplete.js', |
michael@0 | 91 | 'UnifiedComplete.manifest', |
michael@0 | 92 | ] |
michael@0 | 93 | FINAL_LIBRARY = 'xul' |
michael@0 | 94 | |
michael@0 | 95 | include('/ipc/chromium/chromium-config.mozbuild') |