summaryrefslogtreecommitdiffstats
path: root/third_party/cacheinvalidation
Commit message (Collapse)AuthorAgeFilesLines
* GTTF: Flip test launcher defaults (developer mode is now default)phajdan.jr@chromium.org2013-11-271-0/+1
| | | | | | | | | | | | | chromium-dev discussions: https://groups.google.com/a/chromium.org/d/msg/chromium-dev/ewfTWVUiYGw/uTlP2mOZlmAJ https://groups.google.com/a/chromium.org/d/msg/chromium-dev/Mw1hrGwnUpw/pYVzC3o_SDQJ BUG=236893 R=maruel@chromium.org, sky@chromium.org Review URL: https://codereview.chromium.org/59623015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@237448 0039d316-1c4b-4281-b951-d872f2087c98
* [Android] emma_instr.py now removes any stale *.em/*sources.txtfrankf@chromium.org2013-08-311-1/+3
| | | | | | | | | | BUG=278365 NOTRY=True TBR=akalin@chromium.org Review URL: https://chromiumcodereview.appspot.com/23666007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@220714 0039d316-1c4b-4281-b951-d872f2087c98
* Adds ability to exclude java librariesgkanwar@chromium.org2013-08-241-0/+1
| | | | | | | | | NOTRY=True BUG=278365 Review URL: https://chromiumcodereview.appspot.com/22831044 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@219409 0039d316-1c4b-4281-b951-d872f2087c98
* roll cacheinvalidation forward to @312ghc@google.com2013-08-131-0/+1
| | | | | | | | | | Summary of changes: - minor refactoring of namespace import headers - update version timestamp Review URL: https://chromiumcodereview.appspot.com/22865009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@217344 0039d316-1c4b-4281-b951-d872f2087c98
* Use a direct include of time headers in third_party/.avi@chromium.org2013-06-281-1/+1
| | | | | | | | | | BUG=254986 TEST=none TBR=ben@chromium.org Review URL: https://codereview.chromium.org/18158003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@209155 0039d316-1c4b-4281-b951-d872f2087c98
* Use a direct include of strings headers in testing/, third_party/, tools/.avi@chromium.org2013-06-111-2/+2
| | | | | | | | | | BUG=247723 TEST=none TBR=ben@chromium.org Review URL: https://chromiumcodereview.appspot.com/15851009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@205470 0039d316-1c4b-4281-b951-d872f2087c98
* Roll cacheinvalidation to @307 and add OWNERS file for the directory.ghc@google.com2013-06-075-7/+31
| | | | | | | | | | - Bump internal versioning datestamp for June 2013 release. - Fix inlined virtual method ugliness. - Update README.chromium. Review URL: https://chromiumcodereview.appspot.com/16597002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@204964 0039d316-1c4b-4281-b951-d872f2087c98
* roll cacheinvalidation forward to @302ghc@google.com2013-05-071-0/+4
| | | | | | | | | | | | | | Summary of changes: - Use a random value for the token-assignment nonce instead of the current time. - Add RandUint64 to the Random class and override. TBR=brettw@chromium.org Review URL: https://chromiumcodereview.appspot.com/14822002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@198756 0039d316-1c4b-4281-b951-d872f2087c98
* Update all .isolate files to the new format.maruel@chromium.org2013-04-041-8/+12
| | | | | | | | | | | | | | | | Autogenerated with: for a in $(git ls-files | grep \\.isolate); do tools/swarm_client/isolate_merge.py $a -o $a; done content/content_browsertests.isolate failed to be converted automatically. NOTRY=true TBR=csharp@chromium.org BUG= Review URL: https://chromiumcodereview.appspot.com/13654003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@192411 0039d316-1c4b-4281-b951-d872f2087c98
* [Cleanup] Remove StringPrintf from global namespacegroby@chromium.org2013-03-181-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | use of StringPrintf now requires prefixing with base:: or a per-scope using directive TBR'd: abodenha: chrome/service brettw: content, third_party, webkit darin: base, chrome/browser, chrome/renderer dgarret: courgette enne: cc fischmann: media gbillock: sql joi: google_apis,components rsleevi: net, crypto sky: chrome/test thestig: printing, chrome/common, tsepez: ipc wez: remoting yfriedman: testing/android NOTRY=true R=brettw@chromium.org TBR=joi@chromium.org, rsleevi@chromium.org, enne@chromium.org, thestig@chromium.org, darin@chromium.org, abodenha@chromium.org, sky@chromium.org, dgarret@chromium.org, tsepez@chromium.org, fishman@chromium.org, wez@chromium.org, gbillock@chromium.org, yfriedman@chromium.org BUG= Review URL: https://codereview.chromium.org/12767006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@188857 0039d316-1c4b-4281-b951-d872f2087c98
* Use _target_name instead of package_name for java*.gypicjhopman@chromium.org2013-02-201-2/+0
| | | | | | | | | | | | | | | We were using package_name as a unique name for naming output files and directories. package_name was typically the same as _target_name or a variation of it (like dropping _apk). Using _target_name instead means we need to specify one less thing and it is (maybe?) guaranteed to be unique. TBR=brettw,joi,jar,fischman,zea,sky BUG= Review URL: https://chromiumcodereview.appspot.com/11308030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@183639 0039d316-1c4b-4281-b951-d872f2087c98
* Roll cacheinvalidation forward to @261.ghc@google.com2013-01-182-1/+10
| | | | | | | | | | | Changes there are mostly refactorings, with some minor changes around when the client sends presence heartbeats after coming online. Review URL: https://chromiumcodereview.appspot.com/11993005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@177657 0039d316-1c4b-4281-b951-d872f2087c98
* Make cacheinvalidation build on Win64jschuh@chromium.org2013-01-101-0/+4
| | | | | | | | | | BUG=166496 BUG=167187 TBR=scottmg Review URL: https://chromiumcodereview.appspot.com/11819049 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@176055 0039d316-1c4b-4281-b951-d872f2087c98
* [sync] Componentize sync: Part 3: Roll version of ↵rsimha@chromium.org2012-12-132-2/+14
| | | | | | | | | | | | | | | | | | | | | third_party/cacheinvalidation in DEPS In order to support component builds, a few fixes had to be made upstream in third_party/cacheinvalidation. See https://codereview.chromium.org/11464039. This patch does the following: - Rolls the version of third_party/cacheinvalidation in chromium's DEPS file to r247, which includes the fixes. - Fixes cacheinvalidation.gyp to include a new proto file added in r246. - Adds documentation to help detect build breaks due to future version rolls. r246: Simplified AndroidListener abstraction. r247: Remove references to (unused) headers and types not available in protobuf_lite runtime. BUG=136928 Review URL: https://codereview.chromium.org/11552032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@172957 0039d316-1c4b-4281-b951-d872f2087c98
* Add guava and jsr-305 to third_party for Androidnyquist@chromium.org2012-12-031-13/+1
| | | | | | | | | | | | Instead of using bundled versions of guava, we now instead build guava ourselves. Also, we need to build jsr-305 as it is the only dependency guava has. BUG=159873 Review URL: https://codereview.chromium.org/11415141 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@170751 0039d316-1c4b-4281-b951-d872f2087c98
* Remove various DoNothing functions in favor of base::DoNothingakalin@chromium.org2012-11-151-2/+1
| | | | | | | | | BUG= TBR=yoz@chromium.org,rkc@chromium.org,sergeyu@chromium.org Review URL: https://chromiumcodereview.appspot.com/11361269 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@167876 0039d316-1c4b-4281-b951-d872f2087c98
* Add support for generating jars from protos and add cacheinvalidation_java.nyquist@chromium.org2012-11-141-7/+76
| | | | | | | | | | | | | The cacheinvalidation_java target is also added to build/all_android.gyp to ensure it is always built since nothing currently depends on it upstream. When all of Android-specific sync code is upstreamed, a target for sync should be used instead of cacheinvalidation. BUG=158382 Review URL: https://chromiumcodereview.appspot.com/11146005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@167746 0039d316-1c4b-4281-b951-d872f2087c98
* Roll third_party/cacheinvalidation r221:r245kochi@chromium.org2012-10-311-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a retry of http://crrev.com/164259, reverted by http://crrev.com/164266 by failing checklicenses.py. The intention of this roll is to add 2 source types in proto (COSMO_CHANGELOG and CHROME_PUSH_MESSAGING) in r241, but also includes the v2 of the Android client library (r221:240). r241 had an Android build issue (a symbol "ANDROID" was defined as an enum member in proto, which was blown away by -DANDROID compiler option, introduced at r239), and r242 reverted it. r243 fixed the checklicenses.py issue by adding a proper license in src/example-app-build/generate_protos.sh. r244: Track changes from HEAD. In particular, ensure that all code builds against the open-sourced protocol buffers library. r245: Add missing TrickleState. BUG=150005, 157546 TEST=compile succeeds. Review URL: https://chromiumcodereview.appspot.com/11304005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@165113 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 164259 - Roll third_party/cacheinvalidation from r221:r242.kochi@chromium.org2012-10-261-1/+1
| | | | | | | | | | | | | | | | | | | | | The intention of this roll is to add 2 source types in proto (COSMO_CHANGELOG and CHROME_PUSH_MESSAGING), but also includes the v2 of the Android client library. r241 had an Android build issue (a symbol "ANDROID" was defined as an enum member in proto, which was blown away by -DANDROID compiler option, introduced at r239), and r242 reverted it. BUG=150005, 157546 TEST=compile succeeds. Review URL: https://codereview.chromium.org/11194078 TBR=kochi@chromium.org Review URL: https://codereview.chromium.org/11275060 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@164266 0039d316-1c4b-4281-b951-d872f2087c98
* Roll third_party/cacheinvalidation from r221:r242.kochi@chromium.org2012-10-261-1/+1
| | | | | | | | | | | | | | | | | | The intention of this roll is to add 2 source types in proto (COSMO_CHANGELOG and CHROME_PUSH_MESSAGING), but also includes the v2 of the Android client library. r241 had an Android build issue (a symbol "ANDROID" was defined as an enum member in proto, which was blown away by -DANDROID compiler option, introduced at r239), and r242 reverted it. BUG=150005, 157546 TEST=compile succeeds. Review URL: https://codereview.chromium.org/11194078 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@164259 0039d316-1c4b-4281-b951-d872f2087c98
* Convert all the foo_test_run from using actions to use rules.maruel@chromium.org2012-10-202-22/+4
| | | | | | | | | | | | | | | This removes a lot of the duplication of the exact details about how to run isolate.py exactly.. This will permit inserting arbitrary command line arguments eventually, for --subdir support. TBR=csharp@chromium.org BUG= Review URL: https://chromiumcodereview.appspot.com/11236005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@163144 0039d316-1c4b-4281-b951-d872f2087c98
* Roll swarm_client @ 162405.maruel@chromium.org2012-10-172-27/+33
| | | | | | | | | | | | | Since it's removing support for 'isolate.py noop', there's a small chance that the it breaks gyp parsing. TBR=csharp@chromium.org BUG= Review URL: https://chromiumcodereview.appspot.com/11191027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@162475 0039d316-1c4b-4281-b951-d872f2087c98
* Change DEPS to include cacheinvalidation code for Android.nyquist@chromium.org2012-10-122-64/+63
| | | | | | | | | | | | | | | | | The Android build requires more of the cacheinvalidation library than other ports of Chrome. This changes to use the new full mirror of the SVN repo that points to trunk/src instead of trunk/src/google. To simplify transition and to clean up, the folder files is also removed from the path, and instead we checkout directly to cacheinvalidation/src. BUG=154703 Review URL: https://chromiumcodereview.appspot.com/11085063 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@161656 0039d316-1c4b-4281-b951-d872f2087c98
* Rename .swarm to .isolated, as done in r160469.maruel@chromium.org2012-10-051-1/+1
| | | | | | | | | | TBR=csharp@chromium.org NOTRY=true BUG= Review URL: https://codereview.chromium.org/11029063 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@160471 0039d316-1c4b-4281-b951-d872f2087c98
* Update all the .results to .swarm.maruel@chromium.org2012-10-051-1/+1
| | | | | | | | | | | | | Starting with r160349, isolate.py now produces .swarm instead of .results files. TBR=csharp@chromium.org NOTRY=true BUG= Review URL: https://chromiumcodereview.appspot.com/11035056 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@160355 0039d316-1c4b-4281-b951-d872f2087c98
* Move src/tools/isolate to src/tools/swarm_client@159961 as a DEPS.maruel@chromium.org2012-10-041-1/+1
| | | | | | | | | | | src/tools/swarm_client is fetched from tools/swarm_client. TBR=csharp@chromium.org BUG= Review URL: https://codereview.chromium.org/11045023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@160016 0039d316-1c4b-4281-b951-d872f2087c98
* Change protoc build rule to not use cygwin bash.iannucci@chromium.org2012-07-312-73/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Now protoc.exe will be directly invoked. This rolls cacheinvalidation from r218:r219 ------------------------------------------------------------------------ r219 | ghcooper@gmail.com | 2012-07-20 17:44:14 -0700 (Fri, 20 Jul 2012) | 1 line move protos out of v2/; use relative paths for proto imports ------------------------------------------------------------------------ This also rolls gyp from r1440:r1441 ------------------------------------------------------------------------ r1441 | iannucci@chromium.org | 2012-07-26 17:54:17 -0700 (Thu, 26 Jul 2012) | 8 lines Fix bug: non-cygwin actions incorrectly run options through _FixPath. This adds an additional heuristic to the existing one. Now if an option begins with either a '/' OR a '-', it assumes it's not a strict path. Added a TODO which notes that the existing (and new) behavior will miss options such as '--opt=a/posix/path', and '/opt:a/posix/path'. Review URL: https://chromiumcodereview.appspot.com/10829049 ------------------------------------------------------------------------ BUG=123026,113339 R=scottmg@chromium.org,cmp@chromium.org,nsylvain@chromium.org,jar@chromium.org,akalin@chromium.org,maruel@chromium.org TEST= Review URL: https://chromiumcodereview.appspot.com/10796051 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@149100 0039d316-1c4b-4281-b951-d872f2087c98
* Completely refactor isolate.py to be 'command based'.maruel@chromium.org2012-06-231-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Now the .isolate file must be specified with --isolate foo.isolate and the previous --mode option must be the first argument. This is similar to the last CL done on trace_inputs.py. The motivating reason is to be able to add command-specific options. For example, I want to have 'run' and 'trace' to be able to run parallel jobs, like trace_test_cases.py. This requires a --jobs argument, and possibly --whitelist and --blacklist too. Also, this permitted to have mode run doesn't require --result anymore. So this CL creates a base OptionParserIsolate class that implements the basic options needed to support any gyp foo_test_run target, then each command can add other options. This will permit to embed all trace_test_cases.py and run_test_cases.py functionality. Move all the code to be exception based instead of passing parser.error function reference around. Errors are now consistently printed to stderr. R=cmp@chromium.org TBR=thakis@chromium.org NOTRY=true BUG= TEST= Review URL: https://chromiumcodereview.appspot.com/10582036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@143773 0039d316-1c4b-4281-b951-d872f2087c98
* Remove hard_dependency=1 from cacheinvalidation targetakalin@chromium.org2012-06-181-5/+4
| | | | | | | | | | | | | | | | | Since cacheinvalidation headers avoid including proto headers, we can do this. Add explicit dependencies on cacheinvalidation_proto_cpp from the targets that still depend on it. (See http://code.google.com/p/gyp/issues/detail?id=215 for reference.) BUG=79848 TEST= Review URL: https://chromiumcodereview.appspot.com/10577003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142843 0039d316-1c4b-4281-b951-d872f2087c98
* roll cacheinvalidation forward to @218: fixes a potential memory leak that couldghc@google.com2012-06-061-0/+10
| | | | | | | | occur if a callback that closed over another callback didn't get run Review URL: https://chromiumcodereview.appspot.com/10535020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@140852 0039d316-1c4b-4281-b951-d872f2087c98
* Add a new gyp define to be used by the swarm master.maruel@chromium.org2012-05-151-1/+2
| | | | | | | | | | | | | Rename tests_run to test_isolation_mode. TBR=mad@chromium.org BUG=98636 TEST= NOTRY=true Review URL: https://chromiumcodereview.appspot.com/10392073 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@137127 0039d316-1c4b-4281-b951-d872f2087c98
* Makes the code simpler by automatically deducing the root directory to use.maruel@chromium.org2012-04-232-2/+1
| | | | | | | | | | | | | Make the code more testable by separating argument parsing from main(). R=nsylvain@chromium.org BUG=98834 TEST= Review URL: http://codereview.chromium.org/10080013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@133457 0039d316-1c4b-4281-b951-d872f2087c98
* Change --variable argument, must now be spaced, -V foo bar, instead of -V ↵maruel@chromium.org2012-04-232-4/+4
| | | | | | | | | | | | | | | | | | foo=bar. Otherwise, path quoting gets in the way on windows in a way that is very hard to fix, as the 'bar' value could have double-quote in it, resulting in something like foo="bar". R=nsylvain@chromium.org R=mark@chromium.org R=rsleevi@chromium.org BUG= TEST= Review URL: http://codereview.chromium.org/10139020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@133398 0039d316-1c4b-4281-b951-d872f2087c98
* Convert isolate.py to exclusively use .isolate files.maruel@chromium.org2012-04-123-5/+27
| | | | | | | | | | | | | | | | | | | | | | | | Convert base_unittests_run and net_unittests_run to use the new format. Rename isolate_files to isolate_dependency_tracked and ..._dirs to ..._untracked. Rewrite merge_isolate.py to have fully deterministic and sane behavior, especially for 'else' conditions. Convert 'python' to sys.executable when running the command. Add a lot of unit tests. Move hashtable default directory into dirname(result) + '/hashtable'. R=rogerta@chromium.org R=mark@chromium.org R=rsleevi@chromium.org BUG=98834 TEST= Review URL: http://codereview.chromium.org/10019014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@131896 0039d316-1c4b-4281-b951-d872f2087c98
* Add a new 'run_all_unittests' target in baseakalin@chromium.org2012-03-211-3/+1
| | | | | | | | | | | | | Make all the places that include run_all_unittests.cc manually depend on this target instead. BUG= TEST= Review URL: http://codereview.chromium.org/9691067 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@127911 0039d316-1c4b-4281-b951-d872f2087c98
* Roll cacheinvalidation forward to @203. Summary of changes:ghc@google.com2012-03-1413-122/+123
| | | | | | | | | | | | | - Restructure source directory into deps/, impl/, include/, test/. - Fix a bug where redundant registrations would be resent. - Fix a bug that would prevent retry delays from being computed correctly. - Some cosmetic code cleanup. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=126353 Review URL: http://codereview.chromium.org/9675001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@126584 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 126353 - Roll cacheinvalidation forward to @200. Summary of changes:marja@chromium.org2012-03-1313-123/+122
| | | | | | | | | | | | | | - Restructure source directory into deps/, impl/, include/, test/. - Fix a bug where redundant registrations would be resent. - Fix a bug that would prevent retry delays from being computed correctly. - Some cosmetic code cleanup. Review URL: http://codereview.chromium.org/9675001 TBR=ghc@google.com Review URL: https://chromiumcodereview.appspot.com/9689055 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@126356 0039d316-1c4b-4281-b951-d872f2087c98
* Roll cacheinvalidation forward to @200. Summary of changes:ghc@google.com2012-03-1313-122/+123
| | | | | | | | | | | - Restructure source directory into deps/, impl/, include/, test/. - Fix a bug where redundant registrations would be resent. - Fix a bug that would prevent retry delays from being computed correctly. - Some cosmetic code cleanup. Review URL: http://codereview.chromium.org/9675001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@126353 0039d316-1c4b-4281-b951-d872f2087c98
* Fixes the relative path when the first input file is used as the command.maruel@chromium.org2012-03-122-1/+28
| | | | | | | | | | | | | | | | Add cacheinvalidation_unittests_run. It is a good example of a unit test not needing any data file. Saves the json result file in a human-readable layout. Generate the list of valid modes dynamically. R=akalin@chromium.org,csharp@chromium.org BUG= TEST= Review URL: http://codereview.chromium.org/9668042 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@126174 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 123894 - Remove hand-rolled protobufs generation; enable rel paths in ↵rsleevi@chromium.org2012-02-281-14/+72
| | | | | | | | | | | | | | | | | | | | | protoc.gypi protoc.gypi now accepts a relative path to handle the way that protoc_out_dir is applied to build the generated path. Remove the 'cacheinvalidation_proto_cpp' target and instead generate a static_library to begin with. Simplify all steps by removing the actions and including the protoc.gypi file. BUG=113339 Review URL: http://codereview.chromium.org/9378041 TBR=kushi.p@gmail.com Review URL: https://chromiumcodereview.appspot.com/9480022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@123896 0039d316-1c4b-4281-b951-d872f2087c98
* Remove hand-rolled protobufs generation; enable rel paths in protoc.gypikushi.p@gmail.com2012-02-281-72/+14
| | | | | | | | | | | | | | | | protoc.gypi now accepts a relative path to handle the way that protoc_out_dir is applied to build the generated path. Remove the 'cacheinvalidation_proto_cpp' target and instead generate a static_library to begin with. Simplify all steps by removing the actions and including the protoc.gypi file. BUG=113339 Review URL: http://codereview.chromium.org/9378041 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@123894 0039d316-1c4b-4281-b951-d872f2087c98
* roll cacheinvalidation forward to @183. summary of changes:ghc@google.com2012-01-281-1/+4
| | | | | | | | | | | | - refactors existing unit tests and adds new tests for InvalidationClientImpl - makes a few small changes to simplify testing - replaces the Config class with a protocol buffer (not sure if this adds a static initializer) ran unit tests and tested manually Review URL: http://codereview.chromium.org/9225030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@119559 0039d316-1c4b-4281-b951-d872f2087c98
* Summary of changes to cacheinvalidation client:akalin@chromium.org2012-01-2020-328/+284
| | | | | | | | | | | | | - adds ResourceComponent and BasicSystemResources - adds unit tests for ProtocolHandler - adds delay before sending first message after restart, to avoid unnecessary and expensive invocation of registration sync protocol - adds a check to prevent Start() from being called multiple times - deletes all v1 code and overrides - various internal cleanups and minor refactorings Review URL: https://chromiumcodereview.appspot.com/9185038 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@118425 0039d316-1c4b-4281-b951-d872f2087c98
* Migrate cacheinvalidation override implementation to use base::Callback<>.ajwong@chromium.org2011-12-211-194/+42
| | | | | | | | | | | | Also simplify some of the task management logic in the interface adapter that sync uses to talk to the invalidation API. BUG=none TEST=existing. Review URL: http://codereview.chromium.org/8956020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@115442 0039d316-1c4b-4281-b951-d872f2087c98
* Rolls cacheinvalidation forward to @143. (The only C++ changes are the ↵ghc@google.com2011-09-281-3/+4
| | | | | | | | license fixes.) Review URL: http://codereview.chromium.org/8037054 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@103074 0039d316-1c4b-4281-b951-d872f2087c98
* addresses akalin's comments on:ghc@google.com2011-07-151-1/+7
| | | | | | | | | | | http://codereview.chromium.org/7273034 rolls cacheinvalidation forward to add message validation and better logging Review URL: http://codereview.chromium.org/7324033 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92737 0039d316-1c4b-4281-b951-d872f2087c98
* Remove the comments setting emands and vim tab width and expansion variables.tony@chromium.org2011-07-111-6/+0
| | | | | | | | | | | | | | | | | These were added in r28089 (http://codereview.chromium.org/256059) but are unnecessary bloat for everyone to carry around, even those that don't use emacs or vim. In an earlier change, I added editor config files in src/tools/emacs/ and src/tools/vim/ so users of the appropriate editor can source those instead. BUG=none TEST=none Review URL: http://codereview.chromium.org/7310019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92046 0039d316-1c4b-4281-b951-d872f2087c98
* Patch by ghc@google.com.akalin@chromium.org2011-07-028-41/+234
| | | | | | | | BUG=88262 Review URL: http://codereview.chromium.org/7272042 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@91425 0039d316-1c4b-4281-b951-d872f2087c98
* Globally replace <(library) with static_libraryevan@chromium.org2011-05-191-2/+2
| | | | | | | | | | | We provided <(library) as a variable to support a peculiar build configuration on Linux. We no longer support that build configuration, so we can simplify this code to no longer use a variable. Review URL: http://codereview.chromium.org/7051014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@86004 0039d316-1c4b-4281-b951-d872f2087c98
* iwyu: Use callback_old.h where appropriate, part 1.jhawkins@chromium.org2011-05-101-1/+1
| | | | | | | | | | | BUG=none TEST=none R=thakis@chromium.org Review URL: http://codereview.chromium.org/6985009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@84725 0039d316-1c4b-4281-b951-d872f2087c98