Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(411)

Issue 10383198: Move helper functions into the anonymous namespace. (Closed)

Created:
8 years, 7 months ago by bryeung
Modified:
8 years, 7 months ago
CC:
chromium-reviews, Aaron Boodman, mihaip-chromium-reviews_chromium.org
Visibility:
Public.

Description

Move helper functions into the anonymous namespace. In an upcoming CL, yet another extension function type is needed. Instead of adding yet another Bluetooth specific subclass, I think it makes more sense to move the three helper functions that are needed into the anonymous namespace. TEST=still compiles BUG=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=137348

Patch Set 1 #

Patch Set 2 : review comments #

Patch Set 3 : more cleanup #

Patch Set 4 : fix non-chromeos compiles #

Total comments: 2

Patch Set 5 : review comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+37 lines, -76 lines) Patch
M chrome/browser/extensions/api/bluetooth/bluetooth_api.h View 1 2 3 4 13 chunks +12 lines, -36 lines 0 comments Download
M chrome/browser/extensions/api/bluetooth/bluetooth_api.cc View 1 2 3 7 chunks +25 lines, -40 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
bryeung
This isn't net LOC negative in this CL, but it is overall with the new ...
8 years, 7 months ago (2012-05-15 19:57:17 UTC) #1
asargent_no_longer_on_chrome
We usually try to avoid macros in favor of templates when possible. But I'm not ...
8 years, 7 months ago (2012-05-15 20:46:08 UTC) #2
bryeung
Thanks Antony: that was a great suggestion and really helped snap me out of a ...
8 years, 7 months ago (2012-05-15 21:09:56 UTC) #3
asargent_no_longer_on_chrome
LGTM https://chromiumcodereview.appspot.com/10383198/diff/6003/chrome/browser/extensions/api/bluetooth/bluetooth_api.h File chrome/browser/extensions/api/bluetooth/bluetooth_api.h (right): https://chromiumcodereview.appspot.com/10383198/diff/6003/chrome/browser/extensions/api/bluetooth/bluetooth_api.h#newcode19 chrome/browser/extensions/api/bluetooth/bluetooth_api.h:19: class ExtensionBluetoothEventRouter; nit: can you get rid of ...
8 years, 7 months ago (2012-05-15 22:01:47 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bryeung@chromium.org/10383198/4003
8 years, 7 months ago (2012-05-15 23:24:00 UTC) #5
bryeung
https://chromiumcodereview.appspot.com/10383198/diff/6003/chrome/browser/extensions/api/bluetooth/bluetooth_api.h File chrome/browser/extensions/api/bluetooth/bluetooth_api.h (right): https://chromiumcodereview.appspot.com/10383198/diff/6003/chrome/browser/extensions/api/bluetooth/bluetooth_api.h#newcode19 chrome/browser/extensions/api/bluetooth/bluetooth_api.h:19: class ExtensionBluetoothEventRouter; On 2012/05/15 22:01:47, Antony Sargent wrote: > ...
8 years, 7 months ago (2012-05-15 23:24:15 UTC) #6
commit-bot: I haz the power
8 years, 7 months ago (2012-05-16 03:40:59 UTC) #7
Change committed as 137348

Powered by Google App Engine
This is Rietveld 408576698