OLD | NEW |
---|---|
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 var logForDebugging = false; | 5 #include "chrome/browser/profile_resetter/triggered_profile_resetter.h" |
6 function log(message) { | 6 |
7 if (logForDebugging) | 7 void TriggeredProfileResetter::Activate() { |
8 console.log(message); | 8 activate_called_ = true; |
grt (UTC plus 2)
2015/09/04 18:35:48
#if DCHECK_IS_ON() around this?
robertshield
2015/09/04 20:27:18
Done.
| |
9 } | 9 } |
10 | |
11 log("Hello from the service worker"); | |
OLD | NEW |