summaryrefslogtreecommitdiffstats
path: root/chrome/chrome.gyp
Commit message (Collapse)AuthorAgeFilesLines
* [Sync] Make ModelSafeWorker a true interfaceakalin@chromium.org2011-11-221-0/+2
| | | | | | | | | | | | | | | | | | | | Make PassiveModelWorker class. Make FakeModelWorker class and make tests use it. Also make some tests use realistic groups instead of shunting everything to GROUP_PASSIVE. Rename MockModelSafeWorkerRegistrar to FakeModelSafeWorkerRegistrar. This will make it easier to test an upcoming change that makes ModelChangingSyncerCommand post on only the threads it needs to. BUG=97832 TEST= Review URL: http://codereview.chromium.org/8625005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@111131 0039d316-1c4b-4281-b951-d872f2087c98
* CrOs: Remove 2 static initializers and 2 exit time destructors.thakis@chromium.org2011-11-211-0/+16
| | | | | | | | | | | | Turn on -Wexit-time-destructors for (most of) the chrome target. BUG=101600,94925 TEST=none TBR=stevenjb Review URL: http://codereview.chromium.org/8547005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@110954 0039d316-1c4b-4281-b951-d872f2087c98
* sync: don't notify from ~BaseTransaction if the writer is INVALID.tim@chromium.org2011-11-151-1/+0
| | | | | | | | | | | Also get rid of flushed_metahandles since it serves exactly zero purpose :) BUG=87122 TEST=none Review URL: http://codereview.chromium.org/8565035 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@110208 0039d316-1c4b-4281-b951-d872f2087c98
* Fix Mac clobber build because of a missing dependency.jam@chromium.org2011-11-101-0/+1
| | | | | | Review URL: http://codereview.chromium.org/8372084 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@109469 0039d316-1c4b-4281-b951-d872f2087c98
* Introduces chromium_resources.gyp to factor out Chrome resource generationdhollowa@chromium.org2011-11-031-436/+9
| | | | | | | | | | | | | | | | | | | | 1. Factors out Chrome/Chromium resource generation into a separate chrome_resources.gyp file. 2. Eliminates repetition between Mac and other platforms. 3. Breaks long "repack" actions out into separate files for greater readability. 4. Eliminates circular dependencies in the Aura shell, the Views components, and the compositor when utilizing Chrome resources. BUG=none TEST=try bots run gyps and build correctly. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=107967 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=108466 Review URL: http://codereview.chromium.org/8425002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@108517 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 108466 - Introduces chromium_resources.gyp to factor out Chrome ↵dhollowa@chromium.org2011-11-031-9/+436
| | | | | | | | | | | | | | | | | | | | | | | resource generation 1. Factors out Chrome/Chromium resource generation into a separate chrome_resources.gyp file. 2. Eliminates repetition between Mac and other platforms. 3. Breaks long "repack" actions out into separate files for greater readability. 4. Eliminates circular dependencies in the Aura shell, the Views components, and the compositor when utilizing Chrome resources. BUG=none TEST=try bots run gyps and build correctly. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=107967 Review URL: http://codereview.chromium.org/8425002 TBR=dhollowa@chromium.org Review URL: http://codereview.chromium.org/8448001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@108468 0039d316-1c4b-4281-b951-d872f2087c98
* Introduces chromium_resources.gyp to factor out Chrome resource generationdhollowa@chromium.org2011-11-031-436/+9
| | | | | | | | | | | | | | | | | | 1. Factors out Chrome/Chromium resource generation into a separate chrome_resources.gyp file. 2. Eliminates repetition between Mac and other platforms. 3. Breaks long "repack" actions out into separate files for greater readability. 4. Eliminates circular dependencies in the Aura shell, the Views components, and the compositor when utilizing Chrome resources. BUG=none TEST=try bots run gyps and build correctly. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=107967 Review URL: http://codereview.chromium.org/8425002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@108466 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 107967 - Introduces chromium_resources.gyp to factor out Chrome ↵dhollowa@chromium.org2011-10-311-9/+436
| | | | | | | | | | | | | | | | | | | | | resource generation 1. Factors out Chrome/Chromium resource generation into a separate chrome_resources.gyp file. 2. Eliminates repetition between Mac and other platforms. 3. Breaks long "repack" actions out into separate files for greater readability. 4. Eliminates circular dependencies in the Aura shell, the Views components, and the compositor when utilizing Chrome resources. BUG=none TEST=try bots run gyps and build correctly. Review URL: http://codereview.chromium.org/8425002 TBR=dhollowa@chromium.org Review URL: http://codereview.chromium.org/8430011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107984 0039d316-1c4b-4281-b951-d872f2087c98
* Introduces chromium_resources.gyp to factor out Chrome resource generationdhollowa@chromium.org2011-10-311-436/+9
| | | | | | | | | | | | | | | | 1. Factors out Chrome/Chromium resource generation into a separate chrome_resources.gyp file. 2. Eliminates repetition between Mac and other platforms. 3. Breaks long "repack" actions out into separate files for greater readability. 4. Eliminates circular dependencies in the Aura shell, the Views components, and the compositor when utilizing Chrome resources. BUG=none TEST=try bots run gyps and build correctly. Review URL: http://codereview.chromium.org/8425002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107967 0039d316-1c4b-4281-b951-d872f2087c98
* Chrome proxy refactoring.Adding myself to the OWNERS file for handling cloud ↵gene@chromium.org2011-10-281-0/+4
| | | | | | | | print proxy issues.Split proxy code from cloud_print_proxy_backend to a separate pieces: - auth code goes to cloud_print_auth.h/cc - connector logic goes to cloud_print_connector.h/cc (printer enumeration, registration and deletion) - wiring backend/frontend threads, notifications with other parts will stay in cloud_print_backend.h/ccMade proxy logic more straightforward. Review URL: http://codereview.chromium.org/8387011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107758 0039d316-1c4b-4281-b951-d872f2087c98
* This is the first patch in a series of patches. This patch introduces the ↵lipalani@chromium.org2011-10-271-0/+2
| | | | | | | | | | | | | | | unrecoverable error info class which is plumbed up all ModelSafeWorker subclasses. The subclasses of ModelChangingSyncer command would be converted to return an unrecoverable error info in another CL. BUG=100374 TEST= Review URL: http://codereview.chromium.org/8366030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107535 0039d316-1c4b-4281-b951-d872f2087c98
* Send important client side event information to the server. We create a ↵lipalani@chromium.org2011-10-151-0/+3
| | | | | | | | | | | | | | | | | | | | class called DebugInfoEventListener which implements 2 interfaces. one being the syncmanager::observer to observe events from syncmanager. The other being DebugInfoGetter so that syncer can call this class to give the debug information in protobuf format. The implementation of this class uses a queue. And it limits the number of events to 6. if more than 6 events are in the queue we delete the oldest event. Also we send this information to the server only once per sync cycle during the first getudpdates command. also includes the unit test. TBR=cmp@chromium.org for the SI relaxation. BUG=100058 TEST= Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=105667 Review URL: http://codereview.chromium.org/8189003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@105683 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 105667 - Send important client side event information to the server. ↵lipalani@chromium.org2011-10-151-3/+0
| | | | | | | | | | | | | | | | | | | We create a class called DebugInfoEventListener which implements 2 interfaces. one being the syncmanager::observer to observe events from syncmanager. The other being DebugInfoGetter so that syncer can call this class to give the debug information in protobuf format. The implementation of this class uses a queue. And it limits the number of events to 6. if more than 6 events are in the queue we delete the oldest event. Also we send this information to the server only once per sync cycle during the first getudpdates command. also includes the unit test. BUG=100058 TEST= Review URL: http://codereview.chromium.org/8189003 TBR=lipalani@chromium.org Review URL: http://codereview.chromium.org/8313002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@105680 0039d316-1c4b-4281-b951-d872f2087c98
* Send important client side event information to the server. We create a ↵lipalani@chromium.org2011-10-151-0/+3
| | | | | | | | | | | | | | | | class called DebugInfoEventListener which implements 2 interfaces. one being the syncmanager::observer to observe events from syncmanager. The other being DebugInfoGetter so that syncer can call this class to give the debug information in protobuf format. The implementation of this class uses a queue. And it limits the number of events to 6. if more than 6 events are in the queue we delete the oldest event. Also we send this information to the server only once per sync cycle during the first getudpdates command. also includes the unit test. BUG=100058 TEST= Review URL: http://codereview.chromium.org/8189003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@105667 0039d316-1c4b-4281-b951-d872f2087c98
* Move content_plugin_client.h to content\public\plugin.ananta@chromium.org2011-10-121-1/+1
| | | | | | | | | | | | | | | The plugin_carbon_interpose_mac.cc which intercepts system API's in plugin processes on the Mac has been moved to content\plugin. The plugin_carbon_interpose shared library target which lives in chrome.gyp refers to this file. This is a short term workaround while we look into switching the interposing mechanism on the mac. Changes as part of creating a Content API BUG=98716 Review URL: http://codereview.chromium.org/8224021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@105128 0039d316-1c4b-4281-b951-d872f2087c98
* [Sync] Persist invalidation versions to preferencesakalin@chromium.org2011-10-121-0/+1
| | | | | | | | | | | | | | | | | | | | | Define InvalidationVersionTracker interface and make SyncPrefs inherit from it. Pass down SyncPrefs (as InvalidationVersionTracker) all the way down to ChromeInvalidationClient and call it when there is a new max invalidation version. Pass SyncBackendHost a WeakPtr instead of a raw pointer to SyncPrefs. Made sync_listen_notifications work again. BUG=85286 TEST= Review URL: http://codereview.chromium.org/8188006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@104983 0039d316-1c4b-4281-b951-d872f2087c98
* Get rid of the profile import process code, and instead go through the ↵jam@chromium.org2011-10-031-13/+0
| | | | | | | | utility process like the rest of our tasks that we want to run outside the browser. When that code was first written, we didn't have the utility process. Review URL: http://codereview.chromium.org/8108001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@103714 0039d316-1c4b-4281-b951-d872f2087c98
* Clean up DEPS rules against content so that not all chrome code can include ↵jam@chromium.org2011-09-301-0/+17
| | | | | | | | | anything from content. I also moved ChromeContentPluginClient to chrome\plugin where it really belongs (i.e. to match what we do with the utility client). Review URL: http://codereview.chromium.org/8095011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@103569 0039d316-1c4b-4281-b951-d872f2087c98
* Changed Mac, Linux and Win Official Chrome build to drop default app CRXs inrogerta@chromium.org2011-09-281-0/+15
| | | | | | | | | | | | | | | | the build/installer output. This change undoes the revert of 99878. This change was originally reverted because it was decided to push this change to M16. BUG=94920 TEST=Do an Official build in mac, linux and win. Ensure that after installing the app, you can find the default apps under the install's directory structure. For win, this is under a default_apps directory, for mac, this is under a "Default Apps" directory. Review URL: http://codereview.chromium.org/8041033 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@103078 0039d316-1c4b-4281-b951-d872f2087c98
* Sort dependencies in chrome.gyp's pull_in_all.tony@chromium.org2011-09-281-11/+8
| | | | | | | | | | | Also remove the inaccurate comment. BUG=94622 Review URL: http://codereview.chromium.org/7831048 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@103069 0039d316-1c4b-4281-b951-d872f2087c98
* Register all message types with the IPC logging systemsteveblock@chromium.org2011-09-261-2/+0
| | | | | | | | | | Move all_messages.h from chrome/tools/ipclist/ to chrome/common/ to allow it to be included in logging_chrome.cc. This requires profile_import_process_messages.h to be moved from chrome/browser/ to chrome/common/. Update DEPS files accordingly. Also fixes include ordering in content/common/content_message_generator.h. Review URL: http://codereview.chromium.org/7886009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@102791 0039d316-1c4b-4281-b951-d872f2087c98
* [Sync] Move some code into new class JsMutationEventObserverakalin@chromium.org2011-09-231-2/+2
| | | | | | | | | | | | | | Move JsTransactionObserver code into JsMutationEventObserver. Move ChangeObserver methods of JsSyncManagerObserver to JsMutationEventObserver. BUG= TEST= Review URL: http://codereview.chromium.org/7982049 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@102414 0039d316-1c4b-4281-b951-d872f2087c98
* [Sync] use base::Time in syncakalin@chromium.org2011-09-221-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | Make EntryKernel/Entry/BaseNode use base::Time instead of int64s. Add sync/util/time.h, with utility functions to manage the sync proto time format. Store times on disk in proto format instead of the local system. This requires a database version bump (to 77). Update SessionChangeProcessor/SessionModelAssociator to use base::Time, too. Remove hackish Now() function. Remove ZeroFields() function, and instead zero-initialize in EntryKernel::EntryKernel() directly. BUG= TEST= Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=102184 Review URL: http://codereview.chromium.org/7981006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@102218 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 102184 - [Sync] use base::Time in syncakalin@chromium.org2011-09-211-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | Make EntryKernel/Entry/BaseNode use base::Time instead of int64s. Add sync/util/time.h, with utility functions to manage the sync proto time format. Store times on disk in proto format instead of the local system. This requires a database version bump (to 77). Update SessionChangeProcessor/SessionModelAssociator to use base::Time, too. Remove hackish Now() function. Remove ZeroFields() function, and instead zero-initialize in EntryKernel::EntryKernel() directly. BUG= TEST= Review URL: http://codereview.chromium.org/7981006 TBR=akalin@chromium.org Review URL: http://codereview.chromium.org/7977034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@102186 0039d316-1c4b-4281-b951-d872f2087c98
* [Sync] use base::Time in syncakalin@chromium.org2011-09-211-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | Make EntryKernel/Entry/BaseNode use base::Time instead of int64s. Add sync/util/time.h, with utility functions to manage the sync proto time format. Store times on disk in proto format instead of the local system. This requires a database version bump (to 77). Update SessionChangeProcessor/SessionModelAssociator to use base::Time, too. Remove hackish Now() function. Remove ZeroFields() function, and instead zero-initialize in EntryKernel::EntryKernel() directly. BUG= TEST= Review URL: http://codereview.chromium.org/7981006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@102184 0039d316-1c4b-4281-b951-d872f2087c98
* Merge theme_resources_large and theme_resources_standard targetstony@chromium.org2011-09-201-18/+0
| | | | | | | | | | | | | | | | into theme_resources. This gives us less .vcproj and .xcodeproject files on Win/Mac making things load a bit quicker. Also remove unused generated files from theme_resoures_large.grd. BUG=None TEST=compiles Review URL: http://codereview.chromium.org/7906022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@101901 0039d316-1c4b-4281-b951-d872f2087c98
* Fix duplicate rule for LASTCHANGEpiman@chromium.org2011-09-191-2/+2
| | | | | | | | | | BUG=None TEST=build it on linux (make/ninja), check no warning of duplicate rule Review URL: http://codereview.chromium.org/7920025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@101793 0039d316-1c4b-4281-b951-d872f2087c98
* [Sync] Move ChangeRecord into its own file (change_record.{h,cc})akalin@chromium.org2011-09-171-0/+2
| | | | | | | | | | | | | | Define ChangeRecordList and ImmutableChangeRecordList. Pass those around instead of (ChangeRecord*, size) pairs. Remove unused OnMigrationNeededForTypes(). BUG=85658,85481 TEST= Review URL: http://codereview.chromium.org/7918001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@101619 0039d316-1c4b-4281-b951-d872f2087c98
* [Sync] Rework SharedValue<T> into Immutable<T>akalin@chromium.org2011-09-161-1/+1
| | | | | | | | | | | | | | | | Rework SharedValue<T> into Immutable<T>, which behaves similarly but is easier to use and is better documented. Make everything that used SharedValue<T> use Immutable<T> instead. Make SyncData use Immutable<T>. BUG= TEST= Review URL: http://codereview.chromium.org/7904021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@101455 0039d316-1c4b-4281-b951-d872f2087c98
* [Sync] Move weak_handle* into sync/utilakalin@chromium.org2011-09-161-2/+2
| | | | | | | | | BUG= TEST= Review URL: http://codereview.chromium.org/7885053 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@101425 0039d316-1c4b-4281-b951-d872f2087c98
* [Sync] Avoid passing around EntryKernelMutationSet by valueakalin@chromium.org2011-09-151-1/+1
| | | | | | | | | | | | | | | | | | Change EntryKernelMutationSet to EntryKernelMutationMap so that it can be filled in-place. Create a new class SharedEntryKernelMutationMap which is a thread-safe immutable wrapper around an EntryKernelMutationMap. Pass it around instead of the mutation map directly. Generalize SharedValue and move it to sync/util. Move the mutation limit to the JsTransactionObserver. BUG=96483 TEST= Review URL: http://codereview.chromium.org/7889020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@101199 0039d316-1c4b-4281-b951-d872f2087c98
* Make the NaCl windows 64 bit binaries not depend on chrome targets. These ↵jam@chromium.org2011-09-121-9/+0
| | | | | | | | | | | | | targets are very simple and used little code from chrome targets. However their dependency on chrome targets was problematic because a lot of code wasn't being built for 64 bit on Windows, and so there were a lot of "dummy" files being added with stub functions and code was also being compiled out in random places for NACL_WIN64. I've made the NaCl 64 bit windows targets self contained. They do use a few files from common, but those files are self-contained. In the future, we could move these to be in the same 64 bit target as the constants from common. However that won't make a maintenance difference since someone could still introduce link dependencies to other files in common. Additionally, since we're not using chrome code anymore, we can avoid having both nacl.exe and nacl.dll. nacl.exe is sufficient, and this saves 1.4MB of uncompresed binaries in the installer. BUG=86322 Review URL: http://codereview.chromium.org/7863024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@100767 0039d316-1c4b-4281-b951-d872f2087c98
* Merged duplicate functions from tools/data_pack into the ↵adriansc@chromium.org2011-09-091-2/+2
| | | | | | | | | | | | | | grit/format/data_pack class. Marked tools/data_pack directory for removal when the dependency in third_party file WebKit.gyp has been updated to point to grit. BUG=none TEST=builds Review URL: http://codereview.chromium.org/7795057 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@100504 0039d316-1c4b-4281-b951-d872f2087c98
* Final step in removing resource strings in chrome.dll.tony@chromium.org2011-09-081-8/+0
| | | | | | | | | | | | | Move the last set of strings out of autofill_resources.grd into C++ string literals. Delete autofill_resources.grd and remove it from gyp. BUG=None TEST=Covered by unittests. Review URL: http://codereview.chromium.org/7782037 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@100282 0039d316-1c4b-4281-b951-d872f2087c98
* Use precompiled headers for most large projects where the .gyp filejoi@chromium.org2011-09-071-0/+1
| | | | | | | | | | | | | | is not a third party file. On my machine, this speeds up a full recompile of the 'chrome' target in Debug mode by about 18%. BUG=none TEST=it builds, existing tests pass Review URL: http://codereview.chromium.org/7706011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99949 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 99440 - Changed Mac, Linux and Win Official Chrome build to drop ↵stevet@chromium.org2011-09-071-18/+0
| | | | | | | | | | | | | default app CRXs in the build/installer output. BUG=94920 TEST=Do an Official build in mac and win. Ensure that after installing the app, you can find the default apps under the install's directory structure. For win, this is under a default_apps directory, for mac, this is under a "Default Apps" directory. Review URL: http://codereview.chromium.org/7827021 TBR=stevet@chromium.org Review URL: http://codereview.chromium.org/7795038 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99878 0039d316-1c4b-4281-b951-d872f2087c98
* Changed Mac, Linux and Win Official Chrome build to drop default app CRXs in ↵stevet@chromium.org2011-09-021-0/+18
| | | | | | | | | | the build/installer output. BUG=94920 TEST=Do an Official build in mac and win. Ensure that after installing the app, you can find the default apps under the install's directory structure. For win, this is under a default_apps directory, for mac, this is under a "Default Apps" directory. Review URL: http://codereview.chromium.org/7827021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99440 0039d316-1c4b-4281-b951-d872f2087c98
* Start removing dependencies from chrome.gyp's pull_in_all target.tony@chromium.org2011-09-021-15/+0
| | | | | | | | | | | | AFAICT, this target is no longer needed, but just to be safe, I'm going to remove the dependencies incrementally. This change removes the third_party entries and loads 5 less vcproj files in chrome.sln. BUG=94622 Review URL: http://codereview.chromium.org/7828048 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99411 0039d316-1c4b-4281-b951-d872f2087c98
* If the 'asan' GYP variable is set to 1 on Mac, do not strip the __asan_init ↵glider@chromium.org2011-09-021-0/+6
| | | | | | | | symbol from the binaries. Review URL: http://codereview.chromium.org/7828043 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99371 0039d316-1c4b-4281-b951-d872f2087c98
* Start moving ChromeMain code to content so it can be reused by other ↵jam@chromium.org2011-09-011-0/+1
| | | | | | | | | embedders. I've only moved a little bit of the code for now, and will do the rest in followup changes. BUG=90445 Review URL: http://codereview.chromium.org/7817015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99193 0039d316-1c4b-4281-b951-d872f2087c98
* Server directed error handling backend code.lipalani@chromium.org2011-08-311-0/+2
| | | | | | | | | | BUG=94007, 70276 TEST=sync_integration_tests.exe Review URL: http://codereview.chromium.org/7621085 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99051 0039d316-1c4b-4281-b951-d872f2087c98
* Move some files from sync/engine to internal_apirlarocque@chromium.org2011-08-311-7/+7
| | | | | | | | | | | | | | | | | | | | | | | This change moves the following files from sync/engine to sync/internal_api: - change_reorder_buffer.{cc,h} - configure_reason.h - http_post_provider_interface.h - http_post_provider_factory.h - syncapi_server_connection_manager.{cc,h} As part of the change, the SyncScheduler::ScheduleConfig function was modified to take a sync_pb::GetupdatesCallerInfo::GetUpdatesSource parameter instead of a syncapi::ConfigureReason. The remaining changes were mainly updates to include directives and DEPS files. BUG=93816 TEST= Review URL: http://codereview.chromium.org/7719011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99000 0039d316-1c4b-4281-b951-d872f2087c98
* Generate locale dlls as a dependency of Chrome Frame.tony@chromium.org2011-08-261-0/+4
| | | | | | | | | | | | Chrome frame has dialogs in generated_resources.grd that are not included in the pak files. They should continue to use the locale dlls. BUG=94362 Review URL: http://codereview.chromium.org/7760002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@98449 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 98426 - Revert 98103 - Switch to using .pak files for locale data on ↵battre@chromium.org2011-08-261-0/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Windows. We were using .dlls, but the .pak files are smaller and this will allow us to share more code across platforms. - Remove app/locales.gyp (used on win to generate the locale dlls) and references to it in other gyp(i) files. - Update various packaging scripts. - Move functions from resource_bundle_posix.cc to resource_bundle.cc (LoadResourcesDataPak, UnloadLocaleResources, GetLocalizedString, LoadLocaleResources) and delete the corresponding functions from resource_bundle_win.cc. Fixes from previous patch: - Made dependencies of packed_resources explicit (MSVS can't figure it out from the inputs). - Removed a couple cases where we were looking for dlls on Windows (in l10n_util.cc and l10n_util_unittest.cc). BUG=92724 TBR=cpu Review URL: http://codereview.chromium.org/7714028 TBR=tony@chromium.org Review URL: http://codereview.chromium.org/7744053 TBR=battre@chromium.org Review URL: http://codereview.chromium.org/7759001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@98427 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 98103 - Switch to using .pak files for locale data on Windows.battre@chromium.org2011-08-261-15/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We were using .dlls, but the .pak files are smaller and this will allow us to share more code across platforms. - Remove app/locales.gyp (used on win to generate the locale dlls) and references to it in other gyp(i) files. - Update various packaging scripts. - Move functions from resource_bundle_posix.cc to resource_bundle.cc (LoadResourcesDataPak, UnloadLocaleResources, GetLocalizedString, LoadLocaleResources) and delete the corresponding functions from resource_bundle_win.cc. Fixes from previous patch: - Made dependencies of packed_resources explicit (MSVS can't figure it out from the inputs). - Removed a couple cases where we were looking for dlls on Windows (in l10n_util.cc and l10n_util_unittest.cc). BUG=92724 TBR=cpu Review URL: http://codereview.chromium.org/7714028 TBR=tony@chromium.org Review URL: http://codereview.chromium.org/7744053 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@98426 0039d316-1c4b-4281-b951-d872f2087c98
* Don't build the main executable binaries as Objective-C.mark@chromium.org2011-08-241-3/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | The operative portion of this change simply renames chrome/app/chrome_exe_main_mac.mm to chrome/app/chrome_exe_main_mac.cc. The main executables never used any Objective-C anyway. I named the files with .mm a long time ago because at the time it meant that I didn't need to add a separate GYP 'exclude' rule to keep other platforms from seeing the file. That was before we added the rules to automatically exclude files based on platform suffix like _mac. This change also adds a "verify" step to the targets that build our main executables. The verify step will cause a build failure if this ever regresses. This works around a bug in 10.5 CFBundlePreflightExecutable, which crashes when called in a process whose main executable has slid due to PIE when the main executable also contains an __OBJC,__image_info section. We enabled PIE at r91243. BUG=88697 TEST=No more crashes inside CFBundlePreflightExecutable (on our call from webkit::npapi::PluginLib::ReadWebPluginInfo) on 10.5 Review URL: http://codereview.chromium.org/7726007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@98122 0039d316-1c4b-4281-b951-d872f2087c98
* Switch to using .pak files for locale data on Windows.tony@chromium.org2011-08-241-0/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | We were using .dlls, but the .pak files are smaller and this will allow us to share more code across platforms. - Remove app/locales.gyp (used on win to generate the locale dlls) and references to it in other gyp(i) files. - Update various packaging scripts. - Move functions from resource_bundle_posix.cc to resource_bundle.cc (LoadResourcesDataPak, UnloadLocaleResources, GetLocalizedString, LoadLocaleResources) and delete the corresponding functions from resource_bundle_win.cc. Fixes from previous patch: - Made dependencies of packed_resources explicit (MSVS can't figure it out from the inputs). - Removed a couple cases where we were looking for dlls on Windows (in l10n_util.cc and l10n_util_unittest.cc). BUG=92724 TBR=cpu Review URL: http://codereview.chromium.org/7714028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@98103 0039d316-1c4b-4281-b951-d872f2087c98
* Give plug-in processes an executable heap and disable PIE/ASLR for Nativemark@chromium.org2011-08-241-57/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Client loader processes. Some plug-ins depend on having an executable heap. They write code to data pages and attempt to execute it without calling mprotect to mark this code as executable. Native Client needs to allocate a contiguous 1GB of address space. ASLR may interfere with there being a "hole" this large in the address space by the time NaCl makes its request. Non-executable heaps are only available in 10.7 and later for 32-bit processes. PIE/ASLR was formerly disabled for all processes other than the browser process. This change reenables it for all processes other than the NaCl loader. PIE/ASLR is available on 10.5 and later, although the implementation is stronger in 10.7 than in earlier releases. This change results in two new helpers in addition to the existing Chromium Helper.app: Chromium Helper EH.app (for executable heaps) and Chromium Helper NP.app (for no PIE). libplugin_carbon_interpose.dylib moves out of the helper .app and directly into the versioned directory. The InfoPlist.strings have been removed from the helper app, but empty .lproj directories remain. BUG=90221, 93551 TEST=everything Review URL: http://codereview.chromium.org/7714018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97984 0039d316-1c4b-4281-b951-d872f2087c98
* Generate pseudo locales on Linuxofri@google.com2011-08-231-0/+33
| | | | | | | | | | BUG=NONE TEST=NONE Review URL: http://codereview.chromium.org/7694031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97780 0039d316-1c4b-4281-b951-d872f2087c98
* Add a missing commajeanluc@chromium.org2011-08-191-1/+1
| | | | | | Review URL: http://codereview.chromium.org/7695004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97516 0039d316-1c4b-4281-b951-d872f2087c98