summaryrefslogtreecommitdiffstats
path: root/chrome
diff options
context:
space:
mode:
authormnissler@chromium.org <mnissler@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-04-15 19:05:22 +0000
committermnissler@chromium.org <mnissler@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-04-15 19:05:22 +0000
commita621dc99d02ae35be283fd73ffa6f04f864c4ce9 (patch)
treee22012fdea9ba1e4556478a24c16efe78c61d752 /chrome
parent45d72766fd68038c095e76301ea80d3ccda9eb14 (diff)
downloadchromium_src-a621dc99d02ae35be283fd73ffa6f04f864c4ce9.zip
chromium_src-a621dc99d02ae35be283fd73ffa6f04f864c4ce9.tar.gz
chromium_src-a621dc99d02ae35be283fd73ffa6f04f864c4ce9.tar.bz2
Don't complain about empty machine ids.
BUG=None TEST=Compiles Review URL: http://codereview.chromium.org/6874008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81776 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome')
-rw-r--r--chrome/browser/policy/device_policy_identity_strategy.cc2
1 files changed, 0 insertions, 2 deletions
diff --git a/chrome/browser/policy/device_policy_identity_strategy.cc b/chrome/browser/policy/device_policy_identity_strategy.cc
index 26be2a9..94174a9 100644
--- a/chrome/browser/policy/device_policy_identity_strategy.cc
+++ b/chrome/browser/policy/device_policy_identity_strategy.cc
@@ -94,8 +94,6 @@ bool DevicePolicyIdentityStrategy::GetCredentials(std::string* username,
void DevicePolicyIdentityStrategy::OnDeviceTokenAvailable(
const std::string& token) {
- DCHECK(!machine_id_.empty());
-
device_token_ = token;
NotifyDeviceTokenChanged();
}