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

Side by Side Diff: chrome/browser/extensions/api/bluetooth/bluetooth_api.cc

Issue 24649002: Clean up a few more unused globals. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: thestig comment Created 7 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 #include "chrome/browser/extensions/api/bluetooth/bluetooth_api.h" 5 #include "chrome/browser/extensions/api/bluetooth/bluetooth_api.h"
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "base/memory/ref_counted.h" 9 #include "base/memory/ref_counted.h"
10 #include "chrome/browser/extensions/api/bluetooth/bluetooth_api_factory.h" 10 #include "chrome/browser/extensions/api/bluetooth/bluetooth_api_factory.h"
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 namespace { 44 namespace {
45 45
46 const char kCouldNotGetLocalOutOfBandPairingData[] = 46 const char kCouldNotGetLocalOutOfBandPairingData[] =
47 "Could not get local Out Of Band Pairing Data"; 47 "Could not get local Out Of Band Pairing Data";
48 const char kCouldNotSetOutOfBandPairingData[] = 48 const char kCouldNotSetOutOfBandPairingData[] =
49 "Could not set Out Of Band Pairing Data"; 49 "Could not set Out Of Band Pairing Data";
50 const char kFailedToConnect[] = "Connection failed"; 50 const char kFailedToConnect[] = "Connection failed";
51 const char kInvalidDevice[] = "Invalid device"; 51 const char kInvalidDevice[] = "Invalid device";
52 const char kInvalidUuid[] = "Invalid UUID"; 52 const char kInvalidUuid[] = "Invalid UUID";
53 const char kPermissionDenied[] = "Permission to add profile denied."; 53 const char kPermissionDenied[] = "Permission to add profile denied.";
54 const char kPlatformNotSupported[] =
55 "This operation is not supported on your platform";
56 const char kProfileAlreadyRegistered[] = 54 const char kProfileAlreadyRegistered[] =
57 "This profile has already been registered"; 55 "This profile has already been registered";
58 const char kProfileNotFound[] = "Profile not found: invalid uuid"; 56 const char kProfileNotFound[] = "Profile not found: invalid uuid";
59 const char kProfileRegistrationFailed[] = "Profile registration failed"; 57 const char kProfileRegistrationFailed[] = "Profile registration failed";
60 const char kServiceDiscoveryFailed[] = "Service discovery failed"; 58 const char kServiceDiscoveryFailed[] = "Service discovery failed";
61 const char kSocketNotFoundError[] = "Socket not found: invalid socket id"; 59 const char kSocketNotFoundError[] = "Socket not found: invalid socket id";
62 const char kStartDiscoveryFailed[] = "Starting discovery failed"; 60 const char kStartDiscoveryFailed[] = "Starting discovery failed";
63 const char kStopDiscoveryFailed[] = "Failed to stop discovery"; 61 const char kStopDiscoveryFailed[] = "Failed to stop discovery";
64 62
65 } // namespace 63 } // namespace
(...skipping 599 matching lines...) Expand 10 before | Expand all | Expand 10 after
665 adapter->StopDiscovering( 663 adapter->StopDiscovering(
666 base::Bind(&BluetoothStopDiscoveryFunction::OnSuccessCallback, this), 664 base::Bind(&BluetoothStopDiscoveryFunction::OnSuccessCallback, this),
667 base::Bind(&BluetoothStopDiscoveryFunction::OnErrorCallback, this)); 665 base::Bind(&BluetoothStopDiscoveryFunction::OnErrorCallback, this));
668 } 666 }
669 667
670 return true; 668 return true;
671 } 669 }
672 670
673 } // namespace api 671 } // namespace api
674 } // namespace extensions 672 } // namespace extensions
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698