diff options
author | ghc@google.com <ghc@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-03-13 08:07:33 +0000 |
---|---|---|
committer | ghc@google.com <ghc@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-03-13 08:07:33 +0000 |
commit | 325a01891e24bc1e62e221f4d3bc03d82d07dae4 (patch) | |
tree | 7febb0d3da0fab0ca9509a6e616f9ce702568b0c /third_party/cacheinvalidation | |
parent | ad1ccad4b103de7bc0f920a54d637b93f676074a (diff) | |
download | chromium_src-325a01891e24bc1e62e221f4d3bc03d82d07dae4.zip chromium_src-325a01891e24bc1e62e221f4d3bc03d82d07dae4.tar.gz chromium_src-325a01891e24bc1e62e221f4d3bc03d82d07dae4.tar.bz2 |
Roll cacheinvalidation forward to @200. Summary of changes:
- 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
Diffstat (limited to 'third_party/cacheinvalidation')
-rw-r--r-- | third_party/cacheinvalidation/cacheinvalidation.gyp | 137 | ||||
-rw-r--r-- | third_party/cacheinvalidation/overrides/google/cacheinvalidation/deps/callback.h (renamed from third_party/cacheinvalidation/overrides/google/cacheinvalidation/v2/callback.h) | 6 | ||||
-rw-r--r-- | third_party/cacheinvalidation/overrides/google/cacheinvalidation/deps/gmock.h (renamed from third_party/cacheinvalidation/overrides/google/cacheinvalidation/v2/gmock.h) | 6 | ||||
-rw-r--r-- | third_party/cacheinvalidation/overrides/google/cacheinvalidation/deps/googletest.h (renamed from third_party/cacheinvalidation/overrides/google/cacheinvalidation/v2/googletest.h) | 6 | ||||
-rw-r--r-- | third_party/cacheinvalidation/overrides/google/cacheinvalidation/deps/logging.h (renamed from third_party/cacheinvalidation/overrides/google/cacheinvalidation/v2/logging.h) | 8 | ||||
-rw-r--r-- | third_party/cacheinvalidation/overrides/google/cacheinvalidation/deps/mutex.h (renamed from third_party/cacheinvalidation/overrides/google/cacheinvalidation/v2/mutex.h) | 8 | ||||
-rw-r--r-- | third_party/cacheinvalidation/overrides/google/cacheinvalidation/deps/random.h (renamed from third_party/cacheinvalidation/overrides/google/cacheinvalidation/v2/random.h) | 10 | ||||
-rw-r--r-- | third_party/cacheinvalidation/overrides/google/cacheinvalidation/deps/scoped_ptr.h | 16 | ||||
-rw-r--r-- | third_party/cacheinvalidation/overrides/google/cacheinvalidation/deps/sha1-digest-function.h (renamed from third_party/cacheinvalidation/overrides/google/cacheinvalidation/v2/sha1-digest-function.h) | 10 | ||||
-rw-r--r-- | third_party/cacheinvalidation/overrides/google/cacheinvalidation/deps/stl-namespace.h (renamed from third_party/cacheinvalidation/overrides/google/cacheinvalidation/v2/stl-namespace.h) | 6 | ||||
-rw-r--r-- | third_party/cacheinvalidation/overrides/google/cacheinvalidation/deps/string_util.h (renamed from third_party/cacheinvalidation/overrides/google/cacheinvalidation/v2/string_util.h) | 8 | ||||
-rw-r--r-- | third_party/cacheinvalidation/overrides/google/cacheinvalidation/deps/time.h (renamed from third_party/cacheinvalidation/overrides/google/cacheinvalidation/v2/time.h) | 8 | ||||
-rw-r--r-- | third_party/cacheinvalidation/overrides/google/cacheinvalidation/v2/scoped_ptr.h | 16 |
13 files changed, 123 insertions, 122 deletions
diff --git a/third_party/cacheinvalidation/cacheinvalidation.gyp b/third_party/cacheinvalidation/cacheinvalidation.gyp index eff4515..8e47824 100644 --- a/third_party/cacheinvalidation/cacheinvalidation.gyp +++ b/third_party/cacheinvalidation/cacheinvalidation.gyp @@ -102,66 +102,64 @@ 'target_name': 'cacheinvalidation', 'type': 'static_library', 'sources': [ - 'overrides/google/cacheinvalidation/v2/callback.h', - 'overrides/google/cacheinvalidation/v2/gmock.h', - 'overrides/google/cacheinvalidation/v2/googletest.h', - 'overrides/google/cacheinvalidation/v2/logging.h', - 'overrides/google/cacheinvalidation/v2/mutex.h', - 'overrides/google/cacheinvalidation/v2/random.h', - 'overrides/google/cacheinvalidation/v2/scoped_ptr.h', - 'overrides/google/cacheinvalidation/v2/stl-namespace.h', - 'overrides/google/cacheinvalidation/v2/string_util.h', - 'overrides/google/cacheinvalidation/v2/time.h', - 'files/src/google/cacheinvalidation/v2/basic-system-resources.cc', - 'files/src/google/cacheinvalidation/v2/basic-system-resources.h', - 'files/src/google/cacheinvalidation/v2/checking-invalidation-listener.cc', - 'files/src/google/cacheinvalidation/v2/checking-invalidation-listener.h', - 'files/src/google/cacheinvalidation/v2/client-protocol-namespace-fix.h', - 'files/src/google/cacheinvalidation/v2/constants.cc', - 'files/src/google/cacheinvalidation/v2/constants.h', - 'files/src/google/cacheinvalidation/v2/digest-function.h', - 'files/src/google/cacheinvalidation/v2/digest-store.h', - 'files/src/google/cacheinvalidation/v2/exponential-backoff-delay-generator.cc', - 'files/src/google/cacheinvalidation/v2/exponential-backoff-delay-generator.h', - 'files/src/google/cacheinvalidation/v2/invalidation-client-factory.cc', - 'files/src/google/cacheinvalidation/v2/invalidation-client-factory.h', - 'files/src/google/cacheinvalidation/v2/invalidation-client-impl.cc', - 'files/src/google/cacheinvalidation/v2/invalidation-client-impl.h', - 'files/src/google/cacheinvalidation/v2/invalidation-client.h', - 'files/src/google/cacheinvalidation/v2/invalidation-client-util.h', - 'files/src/google/cacheinvalidation/v2/invalidation-listener.h', - 'files/src/google/cacheinvalidation/v2/log-macro.h', - 'files/src/google/cacheinvalidation/v2/logging.h', - 'files/src/google/cacheinvalidation/v2/mutex.h', - 'files/src/google/cacheinvalidation/v2/object-id-digest-utils.cc', - 'files/src/google/cacheinvalidation/v2/object-id-digest-utils.h', - 'files/src/google/cacheinvalidation/v2/operation-scheduler.cc', - 'files/src/google/cacheinvalidation/v2/operation-scheduler.h', - 'files/src/google/cacheinvalidation/v2/persistence-utils.cc', - 'files/src/google/cacheinvalidation/v2/persistence-utils.h', - 'files/src/google/cacheinvalidation/v2/proto-converter.cc', - 'files/src/google/cacheinvalidation/v2/proto-converter.h', - 'files/src/google/cacheinvalidation/v2/proto-helpers.h', - 'files/src/google/cacheinvalidation/v2/proto-helpers.cc', - 'files/src/google/cacheinvalidation/v2/protocol-handler.cc', - 'files/src/google/cacheinvalidation/v2/protocol-handler.h', - 'files/src/google/cacheinvalidation/v2/registration-manager.cc', - 'files/src/google/cacheinvalidation/v2/registration-manager.h', - 'files/src/google/cacheinvalidation/v2/run-state.h', - 'files/src/google/cacheinvalidation/v2/sha1-digest-function.h', - 'files/src/google/cacheinvalidation/v2/simple-registration-store.cc', - 'files/src/google/cacheinvalidation/v2/simple-registration-store.h', - 'files/src/google/cacheinvalidation/v2/smearer.h', - 'files/src/google/cacheinvalidation/v2/statistics.cc', - 'files/src/google/cacheinvalidation/v2/statistics.h', - 'files/src/google/cacheinvalidation/v2/string_util.h', - 'files/src/google/cacheinvalidation/v2/system-resources.h', - 'files/src/google/cacheinvalidation/v2/throttle.cc', - 'files/src/google/cacheinvalidation/v2/throttle.h', - 'files/src/google/cacheinvalidation/v2/ticl-message-validator.cc', - 'files/src/google/cacheinvalidation/v2/ticl-message-validator.h', - 'files/src/google/cacheinvalidation/v2/time.h', - 'files/src/google/cacheinvalidation/v2/types.h', + 'overrides/google/cacheinvalidation/deps/callback.h', + 'overrides/google/cacheinvalidation/deps/gmock.h', + 'overrides/google/cacheinvalidation/deps/googletest.h', + 'overrides/google/cacheinvalidation/deps/logging.h', + 'overrides/google/cacheinvalidation/deps/mutex.h', + 'overrides/google/cacheinvalidation/deps/random.h', + 'overrides/google/cacheinvalidation/deps/sha1-digest-function.h', + 'overrides/google/cacheinvalidation/deps/scoped_ptr.h', + 'overrides/google/cacheinvalidation/deps/stl-namespace.h', + 'overrides/google/cacheinvalidation/deps/string_util.h', + 'overrides/google/cacheinvalidation/deps/time.h', + 'files/src/google/cacheinvalidation/deps/digest-function.h', + 'files/src/google/cacheinvalidation/impl/basic-system-resources.cc', + 'files/src/google/cacheinvalidation/impl/basic-system-resources.h', + 'files/src/google/cacheinvalidation/impl/checking-invalidation-listener.cc', + 'files/src/google/cacheinvalidation/impl/checking-invalidation-listener.h', + 'files/src/google/cacheinvalidation/impl/client-protocol-namespace-fix.h', + 'files/src/google/cacheinvalidation/impl/constants.cc', + 'files/src/google/cacheinvalidation/impl/constants.h', + 'files/src/google/cacheinvalidation/impl/digest-store.h', + 'files/src/google/cacheinvalidation/impl/exponential-backoff-delay-generator.cc', + 'files/src/google/cacheinvalidation/impl/exponential-backoff-delay-generator.h', + 'files/src/google/cacheinvalidation/impl/invalidation-client-factory.cc', + 'files/src/google/cacheinvalidation/impl/invalidation-client-impl.cc', + 'files/src/google/cacheinvalidation/impl/invalidation-client-impl.h', + 'files/src/google/cacheinvalidation/impl/invalidation-client-util.h', + 'files/src/google/cacheinvalidation/impl/log-macro.h', + 'files/src/google/cacheinvalidation/impl/object-id-digest-utils.cc', + 'files/src/google/cacheinvalidation/impl/object-id-digest-utils.h', + 'files/src/google/cacheinvalidation/impl/persistence-utils.cc', + 'files/src/google/cacheinvalidation/impl/persistence-utils.h', + 'files/src/google/cacheinvalidation/impl/proto-converter.cc', + 'files/src/google/cacheinvalidation/impl/proto-converter.h', + 'files/src/google/cacheinvalidation/impl/proto-helpers.h', + 'files/src/google/cacheinvalidation/impl/proto-helpers.cc', + 'files/src/google/cacheinvalidation/impl/protocol-handler.cc', + 'files/src/google/cacheinvalidation/impl/protocol-handler.h', + 'files/src/google/cacheinvalidation/impl/recurring-task.cc', + 'files/src/google/cacheinvalidation/impl/recurring-task.h', + 'files/src/google/cacheinvalidation/impl/registration-manager.cc', + 'files/src/google/cacheinvalidation/impl/registration-manager.h', + 'files/src/google/cacheinvalidation/impl/run-state.h', + 'files/src/google/cacheinvalidation/impl/safe-storage.cc', + 'files/src/google/cacheinvalidation/impl/safe-storage.h', + 'files/src/google/cacheinvalidation/impl/simple-registration-store.cc', + 'files/src/google/cacheinvalidation/impl/simple-registration-store.h', + 'files/src/google/cacheinvalidation/impl/smearer.h', + 'files/src/google/cacheinvalidation/impl/statistics.cc', + 'files/src/google/cacheinvalidation/impl/statistics.h', + 'files/src/google/cacheinvalidation/impl/throttle.cc', + 'files/src/google/cacheinvalidation/impl/throttle.h', + 'files/src/google/cacheinvalidation/impl/ticl-message-validator.cc', + 'files/src/google/cacheinvalidation/impl/ticl-message-validator.h', + 'files/src/google/cacheinvalidation/include/invalidation-client.h', + 'files/src/google/cacheinvalidation/include/invalidation-client-factory.h', + 'files/src/google/cacheinvalidation/include/invalidation-listener.h', + 'files/src/google/cacheinvalidation/include/system-resources.h', + 'files/src/google/cacheinvalidation/include/types.h', ], 'include_dirs': [ './overrides', @@ -193,15 +191,16 @@ 'type': 'executable', 'sources': [ '../../base/test/run_all_unittests.cc', - 'files/src/google/cacheinvalidation/v2/test/deterministic-scheduler.cc', - 'files/src/google/cacheinvalidation/v2/test/deterministic-scheduler.h', - 'files/src/google/cacheinvalidation/v2/test/test-logger.cc', - 'files/src/google/cacheinvalidation/v2/test/test-logger.h', - 'files/src/google/cacheinvalidation/v2/test/test-utils.cc', - 'files/src/google/cacheinvalidation/v2/test/test-utils.h', - 'files/src/google/cacheinvalidation/v2/invalidation-client-impl_test.cc', - 'files/src/google/cacheinvalidation/v2/protocol-handler_test.cc', - 'files/src/google/cacheinvalidation/v2/throttle_test.cc', + 'files/src/google/cacheinvalidation/test/deterministic-scheduler.cc', + 'files/src/google/cacheinvalidation/test/deterministic-scheduler.h', + 'files/src/google/cacheinvalidation/test/test-logger.cc', + 'files/src/google/cacheinvalidation/test/test-logger.h', + 'files/src/google/cacheinvalidation/test/test-utils.cc', + 'files/src/google/cacheinvalidation/test/test-utils.h', + 'files/src/google/cacheinvalidation/impl/invalidation-client-impl_test.cc', + 'files/src/google/cacheinvalidation/impl/protocol-handler_test.cc', + 'files/src/google/cacheinvalidation/impl/recurring-task_test.cc', + 'files/src/google/cacheinvalidation/impl/throttle_test.cc', ], 'dependencies': [ '../../base/base.gyp:base', diff --git a/third_party/cacheinvalidation/overrides/google/cacheinvalidation/v2/callback.h b/third_party/cacheinvalidation/overrides/google/cacheinvalidation/deps/callback.h index d1e9274..e1da19b3 100644 --- a/third_party/cacheinvalidation/overrides/google/cacheinvalidation/v2/callback.h +++ b/third_party/cacheinvalidation/overrides/google/cacheinvalidation/deps/callback.h @@ -2,8 +2,8 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#ifndef GOOGLE_CACHEINVALIDATION_V2_CALLBACK_H_ -#define GOOGLE_CACHEINVALIDATION_V2_CALLBACK_H_ +#ifndef GOOGLE_CACHEINVALIDATION_DEPS_CALLBACK_H_ +#define GOOGLE_CACHEINVALIDATION_DEPS_CALLBACK_H_ #include "base/bind.h" #include "base/callback.h" @@ -123,4 +123,4 @@ Closure* NewPermanentCallback( } // namespace invalidation -#endif // GOOGLE_CACHEINVALIDATION_V2_CALLBACK_H_ +#endif // GOOGLE_CACHEINVALIDATION_DEPS_CALLBACK_H_ diff --git a/third_party/cacheinvalidation/overrides/google/cacheinvalidation/v2/gmock.h b/third_party/cacheinvalidation/overrides/google/cacheinvalidation/deps/gmock.h index e6a121e..f85846f 100644 --- a/third_party/cacheinvalidation/overrides/google/cacheinvalidation/v2/gmock.h +++ b/third_party/cacheinvalidation/overrides/google/cacheinvalidation/deps/gmock.h @@ -2,8 +2,8 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#ifndef GOOGLE_CACHEINVALIDATION_V2_GMOCK_H_ -#define GOOGLE_CACHEINVALIDATION_V2_GMOCK_H_ +#ifndef GOOGLE_CACHEINVALIDATION_DEPS_GMOCK_H_ +#define GOOGLE_CACHEINVALIDATION_DEPS_GMOCK_H_ #include "testing/gmock/include/gmock/gmock.h" @@ -88,4 +88,4 @@ MATCHER_P(EqualsProto, message, "") { } // namespace testing -#endif // GOOGLE_CACHEINVALIDATION_V2_GMOCK_H_ +#endif // GOOGLE_CACHEINVALIDATION_DEPS_GMOCK_H_ diff --git a/third_party/cacheinvalidation/overrides/google/cacheinvalidation/v2/googletest.h b/third_party/cacheinvalidation/overrides/google/cacheinvalidation/deps/googletest.h index 46bd071..8623e8c 100644 --- a/third_party/cacheinvalidation/overrides/google/cacheinvalidation/v2/googletest.h +++ b/third_party/cacheinvalidation/overrides/google/cacheinvalidation/deps/googletest.h @@ -2,9 +2,9 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#ifndef GOOGLE_CACHEINVALIDATION_V2_GOOGLETEST_H_ -#define GOOGLE_CACHEINVALIDATION_V2_GOOGLETEST_H_ +#ifndef GOOGLE_CACHEINVALIDATION_DEPS_GOOGLETEST_H_ +#define GOOGLE_CACHEINVALIDATION_DEPS_GOOGLETEST_H_ #include "testing/gtest/include/gtest/gtest.h" -#endif // GOOGLE_CACHEINVALIDATION_V2_GOOGLETEST_H_ +#endif // GOOGLE_CACHEINVALIDATION_DEPS_GOOGLETEST_H_ diff --git a/third_party/cacheinvalidation/overrides/google/cacheinvalidation/v2/logging.h b/third_party/cacheinvalidation/overrides/google/cacheinvalidation/deps/logging.h index a2f27f0..0c7c52f 100644 --- a/third_party/cacheinvalidation/overrides/google/cacheinvalidation/v2/logging.h +++ b/third_party/cacheinvalidation/overrides/google/cacheinvalidation/deps/logging.h @@ -1,9 +1,9 @@ -// Copyright (c) 2011 The Chromium Authors. All rights reserved. +// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#ifndef GOOGLE_CACHEINVALIDATION_V2_LOGGING_H_ -#define GOOGLE_CACHEINVALIDATION_V2_LOGGING_H_ +#ifndef GOOGLE_CACHEINVALIDATION_DEPS_LOGGING_H_ +#define GOOGLE_CACHEINVALIDATION_DEPS_LOGGING_H_ #include "base/logging.h" @@ -13,4 +13,4 @@ using logging::LogMessage; } // namespace invalidation -#endif // GOOGLE_CACHEINVALIDATION_V2_LOGGING_H_ +#endif // GOOGLE_CACHEINVALIDATION_DEPS_LOGGING_H_ diff --git a/third_party/cacheinvalidation/overrides/google/cacheinvalidation/v2/mutex.h b/third_party/cacheinvalidation/overrides/google/cacheinvalidation/deps/mutex.h index 7eda283..1f0e23c 100644 --- a/third_party/cacheinvalidation/overrides/google/cacheinvalidation/v2/mutex.h +++ b/third_party/cacheinvalidation/overrides/google/cacheinvalidation/deps/mutex.h @@ -1,9 +1,9 @@ -// Copyright (c) 2011 The Chromium Authors. All rights reserved. +// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#ifndef GOOGLE_CACHEINVALIDATION_V2_MUTEX_H_ -#define GOOGLE_CACHEINVALIDATION_V2_MUTEX_H_ +#ifndef GOOGLE_CACHEINVALIDATION_DEPS_MUTEX_H_ +#define GOOGLE_CACHEINVALIDATION_DEPS_MUTEX_H_ #include "base/logging.h" #include "base/synchronization/lock.h" @@ -23,4 +23,4 @@ class MutexLock { } // namespace invalidation -#endif // GOOGLE_CACHEINVALIDATION_V2_MUTEX_H_ +#endif // GOOGLE_CACHEINVALIDATION_DEPS_MUTEX_H_ diff --git a/third_party/cacheinvalidation/overrides/google/cacheinvalidation/v2/random.h b/third_party/cacheinvalidation/overrides/google/cacheinvalidation/deps/random.h index d8c586a..e43084e 100644 --- a/third_party/cacheinvalidation/overrides/google/cacheinvalidation/v2/random.h +++ b/third_party/cacheinvalidation/overrides/google/cacheinvalidation/deps/random.h @@ -2,8 +2,8 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#ifndef GOOGLE_CACHEINVALIDATION_V2_RANDOM_H_ -#define GOOGLE_CACHEINVALIDATION_V2_RANDOM_H_ +#ifndef GOOGLE_CACHEINVALIDATION_DEPS_RANDOM_H_ +#define GOOGLE_CACHEINVALIDATION_DEPS_RANDOM_H_ #include "base/rand_util.h" @@ -14,12 +14,14 @@ class Random { // We don't actually use the seed. explicit Random(int64 seed) {} + virtual ~Random() {} + // Returns a pseudorandom value between(inclusive) and(exclusive). - double RandDouble() { + virtual double RandDouble() { return base::RandDouble(); } }; } // namespace invalidation -#endif // GOOGLE_CACHEINVALIDATION_V2_RANDOM_H_ +#endif // GOOGLE_CACHEINVALIDATION_DEPS_RANDOM_H_ diff --git a/third_party/cacheinvalidation/overrides/google/cacheinvalidation/deps/scoped_ptr.h b/third_party/cacheinvalidation/overrides/google/cacheinvalidation/deps/scoped_ptr.h new file mode 100644 index 0000000..b849a40 --- /dev/null +++ b/third_party/cacheinvalidation/overrides/google/cacheinvalidation/deps/scoped_ptr.h @@ -0,0 +1,16 @@ +// Copyright (c) 2012 The Chromium Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +#ifndef GOOGLE_CACHEINVALIDATION_DEPS_SCOPED_PTR_H_ +#define GOOGLE_CACHEINVALIDATION_DEPS_SCOPED_PTR_H_ + +#include "base/memory/scoped_ptr.h" + +namespace invalidation { + +using ::scoped_ptr; + +} // namespace invalidation + +#endif // GOOGLE_CACHEINVALIDATION_DEPS_SCOPED_PTR_H_ diff --git a/third_party/cacheinvalidation/overrides/google/cacheinvalidation/v2/sha1-digest-function.h b/third_party/cacheinvalidation/overrides/google/cacheinvalidation/deps/sha1-digest-function.h index a22e3f2..d12c971 100644 --- a/third_party/cacheinvalidation/overrides/google/cacheinvalidation/v2/sha1-digest-function.h +++ b/third_party/cacheinvalidation/overrides/google/cacheinvalidation/deps/sha1-digest-function.h @@ -4,14 +4,14 @@ // Interface to SHA1 digest computation. -#ifndef GOOGLE_CACHEINVALIDATION_V2_SHA1_DIGEST_FUNCTION_H_ -#define GOOGLE_CACHEINVALIDATION_V2_SHA1_DIGEST_FUNCTION_H_ +#ifndef GOOGLE_CACHEINVALIDATION_DEPS_SHA1_DIGEST_FUNCTION_H_ +#define GOOGLE_CACHEINVALIDATION_DEPS_SHA1_DIGEST_FUNCTION_H_ #include <string> #include "base/sha1.h" -#include "google/cacheinvalidation/v2/digest-function.h" -#include "google/cacheinvalidation/v2/stl-namespace.h" +#include "google/cacheinvalidation/deps/digest-function.h" +#include "google/cacheinvalidation/deps/stl-namespace.h" namespace invalidation { @@ -44,4 +44,4 @@ class Sha1DigestFunction : public DigestFunction { } // namespace invalidation -#endif // GOOGLE_CACHEINVALIDATION_V2_SHA1_DIGEST_FUNCTION_H_ +#endif // GOOGLE_CACHEINVALIDATION_DEPS_SHA1_DIGEST_FUNCTION_H_ diff --git a/third_party/cacheinvalidation/overrides/google/cacheinvalidation/v2/stl-namespace.h b/third_party/cacheinvalidation/overrides/google/cacheinvalidation/deps/stl-namespace.h index c660cbd..352af0e 100644 --- a/third_party/cacheinvalidation/overrides/google/cacheinvalidation/v2/stl-namespace.h +++ b/third_party/cacheinvalidation/overrides/google/cacheinvalidation/deps/stl-namespace.h @@ -2,9 +2,9 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#ifndef GOOGLE_CACHEINVALIDATION_V2_STL_NAMESPACE_H_ -#define GOOGLE_CACHEINVALIDATION_V2_STL_NAMESPACE_H_ +#ifndef GOOGLE_CACHEINVALIDATION_DEPS_STL_NAMESPACE_H_ +#define GOOGLE_CACHEINVALIDATION_DEPS_STL_NAMESPACE_H_ #define INVALIDATION_STL_NAMESPACE std -#endif // GOOGLE_CACHEINVALIDATION_V2_STL_NAMESPACE_H_ +#endif // GOOGLE_CACHEINVALIDATION_DEPS_STL_NAMESPACE_H_ diff --git a/third_party/cacheinvalidation/overrides/google/cacheinvalidation/v2/string_util.h b/third_party/cacheinvalidation/overrides/google/cacheinvalidation/deps/string_util.h index 1b7246d..c5dd13f 100644 --- a/third_party/cacheinvalidation/overrides/google/cacheinvalidation/v2/string_util.h +++ b/third_party/cacheinvalidation/overrides/google/cacheinvalidation/deps/string_util.h @@ -1,9 +1,9 @@ -// Copyright (c) 2011 The Chromium Authors. All rights reserved. +// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#ifndef GOOGLE_CACHEINVALIDATION_V2_STRING_UTIL_H_ -#define GOOGLE_CACHEINVALIDATION_V2_STRING_UTIL_H_ +#ifndef GOOGLE_CACHEINVALIDATION_DEPS_STRING_UTIL_H_ +#define GOOGLE_CACHEINVALIDATION_DEPS_STRING_UTIL_H_ #include "base/string_number_conversions.h" #include "base/stringprintf.h" @@ -15,4 +15,4 @@ using base::StringAppendV; } // namespace invalidation -#endif // GOOGLE_CACHEINVALIDATION_V2_STRING_UTIL_H_ +#endif // GOOGLE_CACHEINVALIDATION_DEPS_STRING_UTIL_H_ diff --git a/third_party/cacheinvalidation/overrides/google/cacheinvalidation/v2/time.h b/third_party/cacheinvalidation/overrides/google/cacheinvalidation/deps/time.h index b8644f5..53c77b4 100644 --- a/third_party/cacheinvalidation/overrides/google/cacheinvalidation/v2/time.h +++ b/third_party/cacheinvalidation/overrides/google/cacheinvalidation/deps/time.h @@ -1,9 +1,9 @@ -// Copyright (c) 2011 The Chromium Authors. All rights reserved. +// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#ifndef GOOGLE_CACHEINVALIDATION_V2_TIME_H_ -#define GOOGLE_CACHEINVALIDATION_V2_TIME_H_ +#ifndef GOOGLE_CACHEINVALIDATION_DEPS_TIME_H_ +#define GOOGLE_CACHEINVALIDATION_DEPS_TIME_H_ #include "base/time.h" @@ -13,4 +13,4 @@ typedef base::TimeTicks TimeTicks; typedef base::TimeDelta TimeDelta; } // namespace invalidation -#endif // GOOGLE_CACHEINVALIDATION_V2_TIME_H_ +#endif // GOOGLE_CACHEINVALIDATION_DEPS_TIME_H_ diff --git a/third_party/cacheinvalidation/overrides/google/cacheinvalidation/v2/scoped_ptr.h b/third_party/cacheinvalidation/overrides/google/cacheinvalidation/v2/scoped_ptr.h deleted file mode 100644 index 80ed3cc..0000000 --- a/third_party/cacheinvalidation/overrides/google/cacheinvalidation/v2/scoped_ptr.h +++ /dev/null @@ -1,16 +0,0 @@ -// Copyright (c) 2011 The Chromium Authors. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -#ifndef GOOGLE_CACHEINVALIDATION_V2_SCOPED_PTR_H_ -#define GOOGLE_CACHEINVALIDATION_V2_SCOPED_PTR_H_ - -#include "base/memory/scoped_ptr.h" - -namespace invalidation { - -using ::scoped_ptr; - -} // namespace invalidation - -#endif // GOOGLE_CACHEINVALIDATION_V2_SCOPED_PTR_H_ |