diff options
author | thakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-11-08 00:56:07 +0000 |
---|---|---|
committer | thakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-11-08 00:56:07 +0000 |
commit | fe8b2727568e86e14dbd00f5e9e0d5154d6b7fb4 (patch) | |
tree | b7f2c0bc36bcfa1dc156bfa18e0d6b1d168aa295 /chrome/browser/extensions | |
parent | 56ec73072f135e7e77788f5a09e43e807faa9882 (diff) | |
download | chromium_src-fe8b2727568e86e14dbd00f5e9e0d5154d6b7fb4.zip chromium_src-fe8b2727568e86e14dbd00f5e9e0d5154d6b7fb4.tar.gz chromium_src-fe8b2727568e86e14dbd00f5e9e0d5154d6b7fb4.tar.bz2 |
mac: Prepare most test code for -Wunused-functions too.
BUG=315884
R=akalin@chromium.org, isherman@chromium.org, thestig@chromium.org, yzshen@chromium.org
TBR=piman, sergeyu
Review URL: https://codereview.chromium.org/65813002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@233737 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/extensions')
-rw-r--r-- | chrome/browser/extensions/api/identity/experimental_identity_apitest.cc | 4 | ||||
-rw-r--r-- | chrome/browser/extensions/api/identity/identity_apitest.cc | 5 |
2 files changed, 0 insertions, 9 deletions
diff --git a/chrome/browser/extensions/api/identity/experimental_identity_apitest.cc b/chrome/browser/extensions/api/identity/experimental_identity_apitest.cc index 19d537f..c87cbb2 100644 --- a/chrome/browser/extensions/api/identity/experimental_identity_apitest.cc +++ b/chrome/browser/extensions/api/identity/experimental_identity_apitest.cc @@ -177,10 +177,6 @@ class TestOAuth2MintTokenFlow : public OAuth2MintTokenFlow { OAuth2MintTokenFlow::Delegate* delegate_; }; -BrowserContextKeyedService* IdentityAPITestFactory(Profile* profile) { - return new IdentityAPI(profile); -} - } // namespace class ExperimentalMockGetAuthTokenFunction : diff --git a/chrome/browser/extensions/api/identity/identity_apitest.cc b/chrome/browser/extensions/api/identity/identity_apitest.cc index 3050998..ac3fe6a 100644 --- a/chrome/browser/extensions/api/identity/identity_apitest.cc +++ b/chrome/browser/extensions/api/identity/identity_apitest.cc @@ -188,11 +188,6 @@ class TestOAuth2MintTokenFlow : public OAuth2MintTokenFlow { OAuth2MintTokenFlow::Delegate* delegate_; }; -BrowserContextKeyedService* IdentityAPITestFactory( - content::BrowserContext* profile) { - return new IdentityAPI(static_cast<Profile*>(profile)); -} - // Waits for a specific GURL to generate a NOTIFICATION_LOAD_STOP event and // saves a pointer to the window embedding the WebContents, which can be later // closed. |