summaryrefslogtreecommitdiffstats
path: root/content/child/resource_dispatcher_unittest.cc
diff options
context:
space:
mode:
authorviettrungluu@chromium.org <viettrungluu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-03-05 21:13:52 +0000
committerviettrungluu@chromium.org <viettrungluu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-03-05 21:13:52 +0000
commitff672b7b041300c6c7d8c34b441c85a5d45b0eae (patch)
tree79f3b713fa7cece008d2b8beb939f6405749d8b8 /content/child/resource_dispatcher_unittest.cc
parent0b2d2702127901eaeb4a949f0b3792974463340f (diff)
downloadchromium_src-ff672b7b041300c6c7d8c34b441c85a5d45b0eae.zip
chromium_src-ff672b7b041300c6c7d8c34b441c85a5d45b0eae.tar.gz
chromium_src-ff672b7b041300c6c7d8c34b441c85a5d45b0eae.tar.bz2
Deprecate named base::SharedMemory.
It's hardly used and not implemented on various platforms. (More deprecation work here to come.) R=brettw@chromium.org TBR=sky@chromium.org BUG=345734 Review URL: https://codereview.chromium.org/186473002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@255148 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/child/resource_dispatcher_unittest.cc')
-rw-r--r--content/child/resource_dispatcher_unittest.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/content/child/resource_dispatcher_unittest.cc b/content/child/resource_dispatcher_unittest.cc
index 320564fb..5db4085 100644
--- a/content/child/resource_dispatcher_unittest.cc
+++ b/content/child/resource_dispatcher_unittest.cc
@@ -307,7 +307,10 @@ class DeferredResourceLoadingTest : public ResourceDispatcherTest,
virtual void SetUp() OVERRIDE {
ResourceDispatcherTest::SetUp();
shared_handle_.Delete(kShmemSegmentName);
- EXPECT_TRUE(shared_handle_.CreateNamed(kShmemSegmentName, false, 100));
+ // TODO(viettrungluu): Named shared memory is deprecated (crbug.com/345734).
+ // (I don't think we even need it here.)
+ EXPECT_TRUE(shared_handle_.CreateNamedDeprecated(kShmemSegmentName, false,
+ 100));
}
virtual void TearDown() OVERRIDE {