Cleanup: Correctly spell success(ful).
TBR=brettw@chromium.org NOPRESUBMIT=true Review URL: https://codereview.chromium.org/1469783002 Cr-Commit-Position: refs/heads/master@{#361166}
This commit is contained in:
ash/content/display
base
chrome
android
java
src
org
chromium
chrome
browser
childaccounts
datausage
download
browser
components
autofill
core
history
core
browser
nacl
proximity_auth
tracing
translate
content
browser
shell
browser
layout_test
courgette
crypto
gin
ios
chrome
browser
web
media
audio
capture
video
cast
sender
filters
net
pdf
ppapi
printing/backend
rlz/lib
sandbox/win/src
sync
third_party/WebKit
LayoutTests
fast
canvas
css
dom
compatMode-AlmostStrict-expected.txtcompatMode-AlmostStrict.htmlcompatMode-Compat-expected.txtcompatMode-Compat.htmlcompatMode-Strict-expected.txtcompatMode-Strict.html
events
touch
jquery
resources
test
unit
ManualTests
tools/metrics/histograms
@ -616,7 +616,7 @@ TEST_F(ScreenOrientationControllerTest, InternalDisplayNotAvailableAtStartup) {
|
||||
EXPECT_TRUE(RotationLocked());
|
||||
}
|
||||
|
||||
// Verifies rotating an inactive Display is sucessful.
|
||||
// Verifies rotating an inactive Display is successful.
|
||||
TEST_F(ScreenOrientationControllerTest, RotateInactiveDisplay) {
|
||||
const int64 kInternalDisplayId = 9;
|
||||
const int64 kExternalDisplayId = 10;
|
||||
|
@ -57,7 +57,7 @@ public abstract class ContentUriUtils {
|
||||
*
|
||||
* @param context {@link Context} in interest
|
||||
* @param uriString the content URI to open
|
||||
* @return file desciptor upon sucess, or -1 otherwise.
|
||||
* @return file desciptor upon success, or -1 otherwise.
|
||||
*/
|
||||
@CalledByNative
|
||||
public static int openContentUriForRead(Context context, String uriString) {
|
||||
|
@ -473,7 +473,7 @@ class SandboxSymbolizeHelper {
|
||||
}
|
||||
|
||||
// Returns a O_RDONLY file descriptor for |file_path| if it was opened
|
||||
// sucessfully during the initialization. The file is repositioned at
|
||||
// successfully during the initialization. The file is repositioned at
|
||||
// offset 0.
|
||||
// IMPORTANT: This function must be async-signal-safe because it can be
|
||||
// called from a signal handler (symbolizing stack frames for a crash).
|
||||
@ -741,7 +741,7 @@ void StackTrace::OutputToStream(std::ostream* os) const {
|
||||
namespace internal {
|
||||
|
||||
// NOTE: code from sandbox/linux/seccomp-bpf/demo.cc.
|
||||
char *itoa_r(intptr_t i, char *buf, size_t sz, int base, size_t padding) {
|
||||
char* itoa_r(intptr_t i, char* buf, size_t sz, int base, size_t padding) {
|
||||
// Make sure we can write at least one NUL byte.
|
||||
size_t n = 1;
|
||||
if (n > sz)
|
||||
@ -752,7 +752,7 @@ char *itoa_r(intptr_t i, char *buf, size_t sz, int base, size_t padding) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
char *start = buf;
|
||||
char* start = buf;
|
||||
|
||||
uintptr_t j = i;
|
||||
|
||||
@ -771,7 +771,7 @@ char *itoa_r(intptr_t i, char *buf, size_t sz, int base, size_t padding) {
|
||||
|
||||
// Loop until we have converted the entire number. Output at least one
|
||||
// character (i.e. '0').
|
||||
char *ptr = start;
|
||||
char* ptr = start;
|
||||
do {
|
||||
// Make sure there is still enough space left in our output buffer.
|
||||
if (++n > sz) {
|
||||
|
@ -24,7 +24,7 @@ public class ResetDataActivity extends Activity {
|
||||
|
||||
/**
|
||||
* The operation succeeded. Note that this value will only be returned for dry runs, because
|
||||
* sucessfully resetting data will kill this process and return
|
||||
* successfully resetting data will kill this process and return
|
||||
* {@link Activity#RESULT_CANCELED}.
|
||||
*/
|
||||
private static final int RESULT_OK = Activity.RESULT_OK;
|
||||
|
@ -98,7 +98,7 @@ public class ExternalDataUseObserver {
|
||||
/*
|
||||
* {@link #onReportDataUseDone} reports the result of {@link #reportDataUse} to
|
||||
* the native.
|
||||
* @param success true if the data report was sucessfully submitted to the external observer.
|
||||
* @param success true if the data report was successfully submitted to the external observer.
|
||||
*/
|
||||
protected void onReportDataUseDone(boolean success) {
|
||||
// Check if native object is destroyed. This may happen at the time of Chromium shutdown.
|
||||
|
@ -514,7 +514,7 @@ public class DownloadManagerService extends BroadcastReceiver implements
|
||||
if (downloadInfo.getFilePath() != null) {
|
||||
File file = new File(downloadInfo.getFilePath());
|
||||
if (!file.delete()) {
|
||||
Log.w(TAG, "Failed to remove the unsucessful download");
|
||||
Log.w(TAG, "Failed to remove the unsuccessful download");
|
||||
}
|
||||
}
|
||||
return INVALID_DOWNLOAD_ID;
|
||||
|
@ -1353,7 +1353,7 @@ int ChromeBrowserMainParts::PreMainMessageLoopRunImpl() {
|
||||
// Setup.exe has determined that we need to run a retention experiment
|
||||
// and has lauched chrome to show the experiment UI. It is guaranteed that
|
||||
// no other Chrome is currently running as the process singleton was
|
||||
// sucessfully grabbed above.
|
||||
// successfully grabbed above.
|
||||
int try_chrome_int;
|
||||
base::StringToInt(try_chrome, &try_chrome_int);
|
||||
TryChromeDialogView::Result answer = TryChromeDialogView::Show(
|
||||
|
@ -99,7 +99,7 @@ void InitializeChromeElf() {
|
||||
// Report all successful blacklist interceptions.
|
||||
ReportSuccessfulBlocks();
|
||||
|
||||
// Schedule another task to report all sucessful interceptions later.
|
||||
// Schedule another task to report all successful interceptions later.
|
||||
// This time delay should be long enough to catch any dlls that attempt to
|
||||
// inject after Chrome has started up.
|
||||
content::BrowserThread::PostDelayedTask(
|
||||
|
@ -88,7 +88,7 @@ class EnterpriseEnrollmentHelper {
|
||||
// auth code to authentication token, then tries to enroll the device with the
|
||||
// received token.
|
||||
// If |fetch_additional_token| is true, the helper fetches an additional token
|
||||
// and passes it to the |status_consumer| on successfull enrollment.
|
||||
// and passes it to the |status_consumer| on successful enrollment.
|
||||
// EnrollUsingAuthCode can be called only once during this object's lifetime,
|
||||
// and only if neither of EnrollUsing* methods was called before.
|
||||
virtual void EnrollUsingAuthCode(const std::string& auth_code,
|
||||
|
@ -52,7 +52,7 @@ void LoadWhitelistFromDisk(const base::FilePath& whitelist_path,
|
||||
return;
|
||||
}
|
||||
|
||||
VLOG(0) << "EV whitelist: Sucessfully loaded.";
|
||||
VLOG(0) << "EV whitelist: Successfully loaded.";
|
||||
packed_ct_ev_whitelist::SetEVCertsWhitelist(new_whitelist);
|
||||
}
|
||||
|
||||
|
@ -42,17 +42,17 @@ class FakeDumpWriter : public WebRtcRtpDumpWriter {
|
||||
|
||||
void EndDump(RtpDumpType type,
|
||||
const EndDumpCallback& finished_callback) override {
|
||||
bool incoming_sucess = end_dump_success_;
|
||||
bool incoming_success = end_dump_success_;
|
||||
bool outgoing_success = end_dump_success_;
|
||||
|
||||
if (type == RTP_DUMP_INCOMING)
|
||||
outgoing_success = false;
|
||||
else if (type == RTP_DUMP_OUTGOING)
|
||||
incoming_sucess = false;
|
||||
incoming_success = false;
|
||||
|
||||
base::ThreadTaskRunnerHandle::Get()->PostTask(
|
||||
FROM_HERE,
|
||||
base::Bind(finished_callback, incoming_sucess, outgoing_success));
|
||||
base::Bind(finished_callback, incoming_success, outgoing_success));
|
||||
}
|
||||
|
||||
private:
|
||||
|
@ -42,7 +42,7 @@ std::string RemoveAccountIdPrefix(const std::string& prefixed_account_id) {
|
||||
|
||||
// This class sends a request to GAIA to revoke the given refresh token from
|
||||
// the server. This is a best effort attempt only. This class deletes itself
|
||||
// when done sucessfully or otherwise.
|
||||
// when done successfully or otherwise.
|
||||
class MutableProfileOAuth2TokenServiceDelegate::RevokeServerRefreshToken
|
||||
: public GaiaAuthConsumer {
|
||||
public:
|
||||
|
@ -79,7 +79,7 @@ class AppShortcutLauncherItemController : public LauncherItemController {
|
||||
content::WebContents* content);
|
||||
|
||||
// Advance to the next item if an owned item is already active. The function
|
||||
// will return true if it has sucessfully advanced.
|
||||
// will return true if it has successfully advanced.
|
||||
bool AdvanceToNextApp();
|
||||
|
||||
// Returns true if the application is a V2 app.
|
||||
|
@ -141,7 +141,7 @@ void OneClickSigninSyncStarter::Initialize(Profile* profile, Browser* browser) {
|
||||
profile_sync_service->SetSetupInProgress(true);
|
||||
|
||||
// Make sure the syncing is requested, otherwise the SigninManager
|
||||
// will not be able to complete sucessfully.
|
||||
// will not be able to complete successfully.
|
||||
sync_driver::SyncPrefs sync_prefs(profile_->GetPrefs());
|
||||
sync_prefs.SetSyncRequested(true);
|
||||
}
|
||||
|
@ -17,7 +17,7 @@ namespace {
|
||||
|
||||
class AutofillQueryXmlParserTest : public testing::Test {
|
||||
public:
|
||||
AutofillQueryXmlParserTest(): upload_required_(USE_UPLOAD_RATES) {};
|
||||
AutofillQueryXmlParserTest(): upload_required_(USE_UPLOAD_RATES) {}
|
||||
~AutofillQueryXmlParserTest() override{};
|
||||
|
||||
protected:
|
||||
@ -36,7 +36,7 @@ class AutofillQueryXmlParserTest : public testing::Test {
|
||||
|
||||
class AutofillUploadXmlParserTest : public testing::Test {
|
||||
public:
|
||||
AutofillUploadXmlParserTest(): positive_(0), negative_(0) {};
|
||||
AutofillUploadXmlParserTest(): positive_(0), negative_(0) {}
|
||||
~AutofillUploadXmlParserTest() override{};
|
||||
|
||||
protected:
|
||||
@ -160,7 +160,7 @@ TEST_F(AutofillQueryXmlParserTest, ParseErrors) {
|
||||
EXPECT_EQ(NO_SERVER_DATA, field_infos_[0].field_type);
|
||||
}
|
||||
|
||||
// Test successfull upload response.
|
||||
// Test successful upload response.
|
||||
TEST_F(AutofillUploadXmlParserTest, TestSuccessfulResponse) {
|
||||
ParseUploadXML("<autofilluploadresponse positiveuploadrate=\"0.5\" "
|
||||
"negativeuploadrate=\"0.3\"/>",
|
||||
|
@ -296,7 +296,7 @@ struct QueryURLResult {
|
||||
// HistoryBackend::GetVisibleVisitCountToHost.
|
||||
struct VisibleVisitCountToHostResult {
|
||||
// Indicates whether the call to HistoryBackend::GetVisibleVisitCountToHost
|
||||
// was successfull or not. If false, then both |count| and |first_visit| are
|
||||
// was successful or not. If false, then both |count| and |first_visit| are
|
||||
// undefined.
|
||||
bool success;
|
||||
int count;
|
||||
|
@ -39,13 +39,13 @@ class PnaclTranslationCache
|
||||
virtual ~PnaclTranslationCache();
|
||||
|
||||
// Initialize the translation cache in |cache_dir|. If the return value is
|
||||
// net::ERR_IO_PENDING, |callback| will be called with a 0 argument on sucess
|
||||
// net::ERR_IO_PENDING, |callback| will be called with a 0 argument on success
|
||||
// and <0 otherwise.
|
||||
int InitOnDisk(const base::FilePath& cache_dir,
|
||||
const CompletionCallback& callback);
|
||||
|
||||
// Initialize the translation cache in memory. If the return value is
|
||||
// net::ERR_IO_PENDING, |callback| will be called with a 0 argument on sucess
|
||||
// net::ERR_IO_PENDING, |callback| will be called with a 0 argument on success
|
||||
// and <0 otherwise.
|
||||
int InitInMemory(const CompletionCallback& callback);
|
||||
|
||||
|
@ -676,7 +676,7 @@ void NaClIPCAdapter::SaveOpenResourceMessage(
|
||||
return;
|
||||
}
|
||||
|
||||
// The file token was sucessfully resolved.
|
||||
// The file token was successfully resolved.
|
||||
std::string file_path_str = file_path.AsUTF8Unsafe();
|
||||
base::PlatformFile handle =
|
||||
IPC::PlatformFileForTransitToPlatformFile(ipc_fd);
|
||||
|
@ -2,8 +2,8 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef COMPONENTS_PROXIMITY_AUTH_BLUETOOTH_LOW_ENERGY_CONNECTION_H
|
||||
#define COMPONENTS_PROXIMITY_AUTH_BLUETOOTH_LOW_ENERGY_CONNECTION_H
|
||||
#ifndef COMPONENTS_PROXIMITY_AUTH_BLE_BLUETOOTH_LOW_ENERGY_CONNECTION_H_
|
||||
#define COMPONENTS_PROXIMITY_AUTH_BLE_BLUETOOTH_LOW_ENERGY_CONNECTION_H_
|
||||
|
||||
#include <queue>
|
||||
#include <string>
|
||||
@ -204,7 +204,7 @@ class BluetoothLowEnergyConnection : public Connection,
|
||||
void ProcessNextWriteRequest();
|
||||
|
||||
// Called when the BluetoothGattCharacteristic::RemoteCharacteristicWrite() is
|
||||
// sucessfully complete.
|
||||
// successfully complete.
|
||||
void OnRemoteCharacteristicWritten(bool run_did_send_message_callback);
|
||||
|
||||
// Called when there is an error writing to the remote characteristic
|
||||
@ -306,4 +306,4 @@ class BluetoothLowEnergyConnection : public Connection,
|
||||
|
||||
} // namespace proximity_auth
|
||||
|
||||
#endif // COMPONENTS_PROXIMITY_AUTH_BLUETOOTH_LOW_ENERGY_CONNECTION_H
|
||||
#endif // COMPONENTS_PROXIMITY_AUTH_BLE_BLUETOOTH_LOW_ENERGY_CONNECTION_H_
|
||||
|
@ -12,7 +12,7 @@ namespace prefs {
|
||||
const char kCryptAuthDeviceSyncIsRecoveringFromFailure[] =
|
||||
"cryptauth.device_sync.is_recovering_from_failure";
|
||||
|
||||
// The timestamp of the last successfull CryptAuth device_sync in seconds.
|
||||
// The timestamp of the last successful CryptAuth device_sync in seconds.
|
||||
const char kCryptAuthDeviceSyncLastSyncTimeSeconds[] =
|
||||
"cryptauth.device_sync.last_device_sync_time_seconds";
|
||||
|
||||
@ -32,7 +32,7 @@ const char kCryptAuthDeviceSyncUnlockKeys[] =
|
||||
const char kCryptAuthEnrollmentIsRecoveringFromFailure[] =
|
||||
"cryptauth.enrollment.is_recovering_from_failure";
|
||||
|
||||
// The timestamp of the last successfull CryptAuth enrollment in seconds.
|
||||
// The timestamp of the last successful CryptAuth enrollment in seconds.
|
||||
const char kCryptAuthEnrollmentLastEnrollmentTimeSeconds[] =
|
||||
"cryptauth.enrollment.last_enrollment_time_seconds";
|
||||
|
||||
@ -54,4 +54,4 @@ extern const char kCryptAuthGCMRegistrationId[] =
|
||||
"cryptauth.gcm_registration_id";
|
||||
|
||||
} // namespace prefs
|
||||
} // proximity_auth
|
||||
} // namespace proximity_auth
|
||||
|
@ -137,7 +137,7 @@ class ChildTracingTest : public content::RenderViewTest, public IPC::Listener {
|
||||
WaitForIPCMessage(TracingHostMsg_ProcessMemoryDumpResponse::ID);
|
||||
EXPECT_NE(nullptr, msg);
|
||||
|
||||
// Check that the |dump_guid| and the |sucess| fields are properly set.
|
||||
// Check that the |dump_guid| and the |success| fields are properly set.
|
||||
TracingHostMsg_ProcessMemoryDumpResponse::Param params;
|
||||
TracingHostMsg_ProcessMemoryDumpResponse::Read(msg, ¶ms);
|
||||
const uint64 resp_guid = base::get<0>(params);
|
||||
|
@ -510,7 +510,7 @@ void TranslateHelper::TranslatePageImpl(int page_seq_no, int count) {
|
||||
|
||||
if (!IsTranslateLibReady()) {
|
||||
// The library is not ready, try again later, unless we have tried several
|
||||
// times unsucessfully already.
|
||||
// times unsuccessfully already.
|
||||
if (++count >= kMaxTranslateInitCheckAttempts) {
|
||||
NotifyBrowserTranslationFailed(TranslateErrors::INITIALIZATION_ERROR);
|
||||
return;
|
||||
|
@ -64,7 +64,7 @@ class IOSTranslateDriver : public TranslateDriver,
|
||||
void OpenUrlInNewTab(const GURL& url) override;
|
||||
|
||||
private:
|
||||
// Called when the translation was successfull.
|
||||
// Called when the translation was successful.
|
||||
void TranslationDidSucceed(const std::string& source_lang,
|
||||
const std::string& target_lang,
|
||||
int page_seq_no,
|
||||
|
@ -67,7 +67,7 @@ class MHTMLGenerationTest : public ContentBrowserTest {
|
||||
|
||||
// Tests that generating a MHTML does create contents.
|
||||
// Note that the actual content of the file is not tested, the purpose of this
|
||||
// test is to ensure we were successfull in creating the MHTML data from the
|
||||
// test is to ensure we were successful in creating the MHTML data from the
|
||||
// renderer.
|
||||
IN_PROC_BROWSER_TEST_F(MHTMLGenerationTest, GenerateMHTML) {
|
||||
base::FilePath path(temp_dir_.path());
|
||||
|
@ -170,7 +170,7 @@ bool NetworkManagerWlanApi::GetAccessPointData(
|
||||
++fail_count;
|
||||
}
|
||||
}
|
||||
// At least one successfull scan overrides any other adapter reporting error.
|
||||
// At least one successful scan overrides any other adapter reporting error.
|
||||
return success_count || fail_count == 0;
|
||||
}
|
||||
|
||||
|
@ -261,7 +261,7 @@ class CONTENT_EXPORT IndexedDBBackingStore
|
||||
|
||||
// List of blob files being newly written as part of this transaction.
|
||||
// These will be added to the primary blob journal prior to commit, then
|
||||
// removed after a sucessful commit.
|
||||
// removed after a successful commit.
|
||||
BlobJournalType blobs_to_write_;
|
||||
|
||||
// List of blob files being deleted as part of this transaction. These will
|
||||
|
@ -150,7 +150,7 @@ void FindServiceWorkerRegistration(
|
||||
// This LOG(INFO) deliberately exists to help track down the cause of
|
||||
// https://crbug.com/534537, where notifications sometimes do not react to
|
||||
// the user clicking on them. It should be removed once that's fixed.
|
||||
LOG(INFO) << "Lookup for ServiceWoker Registration: sucesss:" << success
|
||||
LOG(INFO) << "Lookup for ServiceWoker Registration: success:" << success
|
||||
<< " action_index: " << action_index;
|
||||
#endif
|
||||
if (!success) {
|
||||
|
@ -167,7 +167,7 @@ void P2PSocketHostTcpBase::OnConnected(int result) {
|
||||
} else {
|
||||
// If we are not doing TLS, we are ready to send data now.
|
||||
// In case of TLS, SignalConnect will be sent only after TLS handshake is
|
||||
// successfull. So no buffering will be done at socket handlers if any
|
||||
// successful. So no buffering will be done at socket handlers if any
|
||||
// packets sent before that by the application.
|
||||
OnOpen();
|
||||
}
|
||||
|
@ -23,7 +23,7 @@ namespace content {
|
||||
//
|
||||
// If Attachment Execution Services is unavailable, then this function will
|
||||
// attempt to manually annotate the file with security zone information. A
|
||||
// failure code will be returned in this case even if the file is sucessfully
|
||||
// failure code will be returned in this case even if the file is successfully
|
||||
// annotated.
|
||||
//
|
||||
// IAE::Save() will delete the file if it was found to be blocked by local
|
||||
|
@ -109,7 +109,7 @@ std::set<BluetoothUUID> GetUUIDs(
|
||||
std::set<BluetoothUUID> result;
|
||||
filter->GetUUIDs(result);
|
||||
return result;
|
||||
};
|
||||
}
|
||||
|
||||
// Notifies the adapter's observers that the services have been discovered.
|
||||
void NotifyServicesDiscovered(MockBluetoothAdapter* adapter,
|
||||
@ -128,35 +128,35 @@ LayoutTestBluetoothAdapterProvider::GetBluetoothAdapter(
|
||||
const std::string& fake_adapter_name) {
|
||||
if (fake_adapter_name == "BaseAdapter")
|
||||
return GetBaseAdapter();
|
||||
else if (fake_adapter_name == "NotPresentAdapter")
|
||||
if (fake_adapter_name == "NotPresentAdapter")
|
||||
return GetNotPresentAdapter();
|
||||
else if (fake_adapter_name == "NotPoweredAdapter")
|
||||
if (fake_adapter_name == "NotPoweredAdapter")
|
||||
return GetNotPoweredAdapter();
|
||||
else if (fake_adapter_name == "ScanFilterCheckingAdapter")
|
||||
if (fake_adapter_name == "ScanFilterCheckingAdapter")
|
||||
return GetScanFilterCheckingAdapter();
|
||||
else if (fake_adapter_name == "EmptyAdapter")
|
||||
if (fake_adapter_name == "EmptyAdapter")
|
||||
return GetEmptyAdapter();
|
||||
else if (fake_adapter_name == "FailStartDiscoveryAdapter")
|
||||
if (fake_adapter_name == "FailStartDiscoveryAdapter")
|
||||
return GetFailStartDiscoveryAdapter();
|
||||
else if (fake_adapter_name == "GlucoseHeartRateAdapter")
|
||||
if (fake_adapter_name == "GlucoseHeartRateAdapter")
|
||||
return GetGlucoseHeartRateAdapter();
|
||||
else if (fake_adapter_name == "UnicodeDeviceAdapter")
|
||||
if (fake_adapter_name == "UnicodeDeviceAdapter")
|
||||
return GetUnicodeDeviceAdapter();
|
||||
else if (fake_adapter_name == "MissingServiceHeartRateAdapter")
|
||||
if (fake_adapter_name == "MissingServiceHeartRateAdapter")
|
||||
return GetMissingServiceHeartRateAdapter();
|
||||
else if (fake_adapter_name == "MissingCharacteristicHeartRateAdapter")
|
||||
if (fake_adapter_name == "MissingCharacteristicHeartRateAdapter")
|
||||
return GetMissingCharacteristicHeartRateAdapter();
|
||||
else if (fake_adapter_name == "HeartRateAdapter")
|
||||
if (fake_adapter_name == "HeartRateAdapter")
|
||||
return GetHeartRateAdapter();
|
||||
else if (fake_adapter_name == "FailingConnectionsAdapter")
|
||||
if (fake_adapter_name == "FailingConnectionsAdapter")
|
||||
return GetFailingConnectionsAdapter();
|
||||
else if (fake_adapter_name == "FailingGATTOperationsAdapter")
|
||||
if (fake_adapter_name == "FailingGATTOperationsAdapter")
|
||||
return GetFailingGATTOperationsAdapter();
|
||||
else if (fake_adapter_name == "SecondDiscoveryFindsHeartRateAdapter")
|
||||
if (fake_adapter_name == "SecondDiscoveryFindsHeartRateAdapter")
|
||||
return GetSecondDiscoveryFindsHeartRateAdapter();
|
||||
else if (fake_adapter_name == "DelayedServicesDiscoveryAdapter")
|
||||
if (fake_adapter_name == "DelayedServicesDiscoveryAdapter")
|
||||
return GetDelayedServicesDiscoveryAdapter();
|
||||
else if (fake_adapter_name == "")
|
||||
if (fake_adapter_name.empty())
|
||||
return nullptr;
|
||||
|
||||
if (base::StartsWith(fake_adapter_name, "PowerValueAdapter",
|
||||
@ -194,7 +194,7 @@ LayoutTestBluetoothAdapterProvider::GetBluetoothAdapter(
|
||||
}
|
||||
|
||||
NOTREACHED() << fake_adapter_name;
|
||||
return NULL;
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
// Adapters
|
||||
@ -697,7 +697,7 @@ LayoutTestBluetoothAdapterProvider::GetGenericAccessService(
|
||||
|
||||
// Write response.
|
||||
ON_CALL(*device_name, WriteRemoteCharacteristic(_, _, _))
|
||||
.WillByDefault(RunCallback<1 /* sucess callback */>());
|
||||
.WillByDefault(RunCallback<1 /* success callback */>());
|
||||
|
||||
generic_access->AddMockCharacteristic(device_name.Pass());
|
||||
|
||||
|
@ -93,7 +93,7 @@ Status GenerateEnsemblePatch(SourceStream* old, SourceStream* target,
|
||||
// Detects the type of an executable file, and it's length. The length
|
||||
// may be slightly smaller than some executables (like ELF), but will include
|
||||
// all bytes the courgette algorithm has special benefit for.
|
||||
// On sucess:
|
||||
// On success:
|
||||
// Fill in type and detected_length, and return C_OK.
|
||||
// On failure:
|
||||
// Fill in type with UNKNOWN, detected_length with 0, and
|
||||
|
@ -38,7 +38,7 @@ ALG_ID GetAESAlgIDForKeySize(size_t key_size_in_bits) {
|
||||
NOTREACHED();
|
||||
return 0;
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
// Imports a raw/plaintext key of |key_size| stored in |*key_data| into a new
|
||||
// key created for the specified |provider|. |alg| contains the algorithm of
|
||||
@ -83,7 +83,7 @@ bool ImportRawKey(HCRYPTPROV provider,
|
||||
CryptImportKey(provider, actual_key, actual_size, 0, flags, &unsafe_key);
|
||||
|
||||
// Clean up the temporary copy of key, regardless of whether it was imported
|
||||
// sucessfully or not.
|
||||
// successfully or not.
|
||||
SecureZeroMemory(actual_key, actual_size);
|
||||
|
||||
if (!ok)
|
||||
|
@ -80,7 +80,7 @@ TEST_F(ConverterTest, Int32) {
|
||||
|
||||
struct {
|
||||
v8::Local<v8::Value> input;
|
||||
bool expect_sucess;
|
||||
bool expect_success;
|
||||
int expected_result;
|
||||
} test_data_from[] = {
|
||||
{ Boolean::New(instance_->isolate(), false).As<Value>(), false, 0 },
|
||||
@ -102,7 +102,7 @@ TEST_F(ConverterTest, Int32) {
|
||||
int32_t result = std::numeric_limits<int32_t>::min();
|
||||
bool success = Converter<int32_t>::FromV8(instance_->isolate(),
|
||||
test_data_from[i].input, &result);
|
||||
EXPECT_EQ(test_data_from[i].expect_sucess, success) << i;
|
||||
EXPECT_EQ(test_data_from[i].expect_success, success) << i;
|
||||
if (success)
|
||||
EXPECT_EQ(test_data_from[i].expected_result, result) << i;
|
||||
}
|
||||
|
@ -50,7 +50,7 @@ const NSTimeInterval kRecurringPumpDelay = .01;
|
||||
// |completionHandler| can be nil.
|
||||
- (void)startPumpingWithCompletionHandler:(ProceduralBlock)completionHandler;
|
||||
// Gives find in page more time to complete. Calls |completionHandler| with
|
||||
// a BOOL indicating if the find operation was successfull. |completionHandler|
|
||||
// a BOOL indicating if the find operation was successful. |completionHandler|
|
||||
// can be nil.
|
||||
- (void)pumpFindStringInPageWithCompletionHandler:
|
||||
(void (^)(BOOL))completionHandler;
|
||||
|
@ -47,7 +47,7 @@ extern FindInPageEntry FindInPageEntryZero;
|
||||
completionHandler:(void (^)(BOOL, CGPoint))completionHandler;
|
||||
|
||||
// Searches for more matches. Calls |completionHandler| with a success BOOL and
|
||||
// scroll position if pumping was successfull. If the pumping was unsuccessfull
|
||||
// scroll position if pumping was successful. If the pumping was unsuccessfull
|
||||
// another pumping call maybe required. |completionHandler| cannot be nil.
|
||||
// TODO(shreyasv): Consider folding the logic for re-pumping into this class
|
||||
// instead of having clients having to do it.
|
||||
|
@ -60,7 +60,7 @@ const FindInPageEntry kFindInPageEntryZero = {{0.0, 0.0}, 0};
|
||||
- (BOOL)processFindInPageResult:(NSString*)result
|
||||
scrollPosition:(CGPoint*)point;
|
||||
// Updates find in page model with results. Calls |completionHandler| with the
|
||||
// the result of the processing and the new scroll position if successfull. If
|
||||
// the result of the processing and the new scroll position if successful. If
|
||||
// |completionHandler| is called with NO, further pumping is required.
|
||||
// |completionHandler| cannot be nil.
|
||||
- (void)processFindInPagePumpResult:(NSString*)result
|
||||
|
@ -153,7 +153,7 @@ TEST_F(BrowsingDataStoreTest, MakeActiveAndInactiveOperations) {
|
||||
EXPECT_EQ(0U, [observer modeChangeCount]);
|
||||
|
||||
__block int callbacks_received_count = 0;
|
||||
void (^unsucessfullCallback)(BOOL) = ^(BOOL success) {
|
||||
void (^unsuccessfullCallback)(BOOL) = ^(BOOL success) {
|
||||
ASSERT_TRUE([NSThread isMainThread]);
|
||||
++callbacks_received_count;
|
||||
BrowsingDataStoreMode mode = [browsing_data_store_ mode];
|
||||
@ -163,20 +163,20 @@ TEST_F(BrowsingDataStoreTest, MakeActiveAndInactiveOperations) {
|
||||
|
||||
[browsing_data_store_ makeActiveWithCompletionHandler:^(BOOL success) {
|
||||
EXPECT_EQ(0, callbacks_received_count);
|
||||
unsucessfullCallback(success);
|
||||
unsuccessfullCallback(success);
|
||||
}];
|
||||
EXPECT_EQ(CHANGING, [browsing_data_store_ mode]);
|
||||
EXPECT_EQ(1U, [observer modeChangeCount]);
|
||||
|
||||
[browsing_data_store_ makeInactiveWithCompletionHandler:^(BOOL success) {
|
||||
EXPECT_EQ(1, callbacks_received_count);
|
||||
unsucessfullCallback(success);
|
||||
unsuccessfullCallback(success);
|
||||
}];
|
||||
EXPECT_EQ(CHANGING, [browsing_data_store_ mode]);
|
||||
|
||||
[browsing_data_store_ makeActiveWithCompletionHandler:^(BOOL success) {
|
||||
EXPECT_EQ(2, callbacks_received_count);
|
||||
unsucessfullCallback(success);
|
||||
unsuccessfullCallback(success);
|
||||
}];
|
||||
EXPECT_EQ(CHANGING, [browsing_data_store_ mode]);
|
||||
|
||||
|
@ -164,7 +164,7 @@ class AUAudioInputStream : public AgcAudioStream<AudioInputStream> {
|
||||
// array as soon as a frame of the desired buffer size has been recorded.
|
||||
scoped_ptr<uint8[]> audio_data_buffer_;
|
||||
|
||||
// True after successfull Start(), false after successful Stop().
|
||||
// True after successful Start(), false after successful Stop().
|
||||
bool started_;
|
||||
|
||||
// Fixed capture hardware latency in frames.
|
||||
|
@ -2,8 +2,8 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef MEDIA_VIDEO_CAPTURE_MAC_PLATFORM_VIDEO_CAPTURING_MAC_H_
|
||||
#define MEDIA_VIDEO_CAPTURE_MAC_PLATFORM_VIDEO_CAPTURING_MAC_H_
|
||||
#ifndef MEDIA_CAPTURE_VIDEO_MAC_PLATFORM_VIDEO_CAPTURING_MAC_H_
|
||||
#define MEDIA_CAPTURE_VIDEO_MAC_PLATFORM_VIDEO_CAPTURING_MAC_H_
|
||||
|
||||
#import <Foundation/Foundation.h>
|
||||
|
||||
@ -32,7 +32,7 @@ class VideoCaptureDeviceMac;
|
||||
// device names are usually obtained via VideoCaptureDevice::GetDeviceNames()
|
||||
// method. This method will also configure all device properties except those in
|
||||
// setCaptureHeight:width:frameRate. If |deviceId| is nil, capture is stopped
|
||||
// and all potential configuration is torn down. Returns YES on sucess, NO
|
||||
// and all potential configuration is torn down. Returns YES on success, NO
|
||||
// otherwise.
|
||||
- (BOOL)setCaptureDevice:(NSString*)deviceId;
|
||||
|
||||
@ -41,7 +41,7 @@ class VideoCaptureDeviceMac;
|
||||
width:(int)width
|
||||
frameRate:(float)frameRate;
|
||||
|
||||
// Starts video capturing, registers observers. Returns YES on sucess, NO
|
||||
// Starts video capturing, registers observers. Returns YES on success, NO
|
||||
// otherwise.
|
||||
- (BOOL)startCapture;
|
||||
|
||||
@ -50,4 +50,4 @@ class VideoCaptureDeviceMac;
|
||||
|
||||
@end
|
||||
|
||||
#endif // MEDIA_VIDEO_CAPTURE_MAC_PLATFORM_VIDEO_CAPTURING_MAC_H_
|
||||
#endif // MEDIA_CAPTURE_VIDEO_MAC_PLATFORM_VIDEO_CAPTURING_MAC_H_
|
||||
|
@ -2,8 +2,8 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef MEDIA_VIDEO_CAPTURE_MAC_VIDEO_CAPTURE_DEVICE_AVFOUNDATION_MAC_H_
|
||||
#define MEDIA_VIDEO_CAPTURE_MAC_VIDEO_CAPTURE_DEVICE_AVFOUNDATION_MAC_H_
|
||||
#ifndef MEDIA_CAPTURE_VIDEO_MAC_VIDEO_CAPTURE_DEVICE_AVFOUNDATION_MAC_H_
|
||||
#define MEDIA_CAPTURE_VIDEO_MAC_VIDEO_CAPTURE_DEVICE_AVFOUNDATION_MAC_H_
|
||||
|
||||
#import <Foundation/Foundation.h>
|
||||
|
||||
@ -98,7 +98,7 @@ class VideoCaptureDeviceMac;
|
||||
// the deviceId is known, the library objects are created if needed and
|
||||
// connected for the capture, and a by default resolution is set. If deviceId is
|
||||
// nil, then the eventual capture is stopped and library objects are
|
||||
// disconnected. Returns YES on sucess, NO otherwise. This method should not be
|
||||
// disconnected. Returns YES on success, NO otherwise. This method should not be
|
||||
// called during capture.
|
||||
- (BOOL)setCaptureDevice:(NSString*)deviceId;
|
||||
|
||||
@ -111,7 +111,7 @@ class VideoCaptureDeviceMac;
|
||||
|
||||
// Starts video capturing and register the notification listeners. Must be
|
||||
// called after setCaptureDevice:, and, eventually, also after
|
||||
// setCaptureHeight:width:frameRate:. Returns YES on sucess, NO otherwise.
|
||||
// setCaptureHeight:width:frameRate:. Returns YES on success, NO otherwise.
|
||||
- (BOOL)startCapture;
|
||||
|
||||
// Stops video capturing and stops listening to notifications.
|
||||
@ -119,4 +119,4 @@ class VideoCaptureDeviceMac;
|
||||
|
||||
@end
|
||||
|
||||
#endif // MEDIA_VIDEO_CAPTURE_MAC_VIDEO_CAPTURE_DEVICE_AVFOUNDATION_MAC_H_
|
||||
#endif // MEDIA_CAPTURE_VIDEO_MAC_VIDEO_CAPTURE_DEVICE_AVFOUNDATION_MAC_H_
|
||||
|
@ -5,8 +5,8 @@
|
||||
// VideoCaptureDeviceQTKit implements all QTKit related code for
|
||||
// communicating with a QTKit capture device.
|
||||
|
||||
#ifndef MEDIA_VIDEO_CAPTURE_MAC_VIDEO_CAPTURE_DEVICE_QTKIT_MAC_H_
|
||||
#define MEDIA_VIDEO_CAPTURE_MAC_VIDEO_CAPTURE_DEVICE_QTKIT_MAC_H_
|
||||
#ifndef MEDIA_CAPTURE_VIDEO_MAC_VIDEO_CAPTURE_DEVICE_QTKIT_MAC_H_
|
||||
#define MEDIA_CAPTURE_VIDEO_MAC_VIDEO_CAPTURE_DEVICE_QTKIT_MAC_H_
|
||||
|
||||
#import <Foundation/Foundation.h>
|
||||
|
||||
@ -54,7 +54,7 @@ class VideoCaptureDeviceMac;
|
||||
// Set the frame receiver.
|
||||
- (void)setFrameReceiver:(media::VideoCaptureDeviceMac*)frameReceiver;
|
||||
|
||||
// Sets which capture device to use. Returns YES on sucess, NO otherwise.
|
||||
// Sets which capture device to use. Returns YES on success, NO otherwise.
|
||||
- (BOOL)setCaptureDevice:(NSString*)deviceId;
|
||||
|
||||
// Configures the capture properties.
|
||||
@ -62,7 +62,7 @@ class VideoCaptureDeviceMac;
|
||||
width:(int)width
|
||||
frameRate:(float)frameRate;
|
||||
|
||||
// Start video capturing. Returns YES on sucess, NO otherwise.
|
||||
// Start video capturing. Returns YES on success, NO otherwise.
|
||||
- (BOOL)startCapture;
|
||||
|
||||
// Stops video capturing.
|
||||
@ -73,4 +73,4 @@ class VideoCaptureDeviceMac;
|
||||
|
||||
@end
|
||||
|
||||
#endif // MEDIA_VIDEO_CAPTURE_MAC_VIDEO_CAPTURE_DEVICE_QTKIT_MAC_H_
|
||||
#endif // MEDIA_CAPTURE_VIDEO_MAC_VIDEO_CAPTURE_DEVICE_QTKIT_MAC_H_
|
||||
|
@ -183,7 +183,7 @@ class VideoSenderTest : public ::testing::Test {
|
||||
}
|
||||
|
||||
// If |external| is true then external video encoder (VEA) is used.
|
||||
// |expect_init_sucess| is true if initialization is expected to succeed.
|
||||
// |expect_init_success| is true if initialization is expected to succeed.
|
||||
void InitEncoder(bool external, bool expect_init_success) {
|
||||
VideoSenderConfig video_config = GetDefaultVideoSenderConfig();
|
||||
video_config.use_external_encoder = external;
|
||||
@ -253,6 +253,7 @@ class VideoSenderTest : public ::testing::Test {
|
||||
int last_pixel_value_;
|
||||
base::TimeTicks first_frame_timestamp_;
|
||||
|
||||
private:
|
||||
DISALLOW_COPY_AND_ASSIGN(VideoSenderTest);
|
||||
};
|
||||
|
||||
|
@ -118,8 +118,8 @@ class VpxVideoDecoder::MemoryPool
|
||||
// being used by libvpx. Parameters:
|
||||
// |user_priv| Private data passed to libvpx (pointer to memory pool).
|
||||
// |fb| Pointer to the frame buffer that's being released.
|
||||
static int32 ReleaseVP9FrameBuffer(void *user_priv,
|
||||
vpx_codec_frame_buffer *fb);
|
||||
static int32 ReleaseVP9FrameBuffer(void* user_priv,
|
||||
vpx_codec_frame_buffer* fb);
|
||||
|
||||
// Generates a "no_longer_needed" closure that holds a reference to this pool.
|
||||
base::Closure CreateFrameCallback(void* fb_priv_data);
|
||||
@ -216,7 +216,8 @@ int32 VpxVideoDecoder::MemoryPool::GetVP9FrameBuffer(
|
||||
}
|
||||
|
||||
int32 VpxVideoDecoder::MemoryPool::ReleaseVP9FrameBuffer(
|
||||
void *user_priv, vpx_codec_frame_buffer *fb) {
|
||||
void* user_priv,
|
||||
vpx_codec_frame_buffer* fb) {
|
||||
DCHECK(user_priv);
|
||||
DCHECK(fb);
|
||||
VP9FrameBuffer* frame_buffer = static_cast<VP9FrameBuffer*>(fb->priv);
|
||||
@ -351,7 +352,7 @@ void VpxVideoDecoder::Decode(const scoped_refptr<DecoderBuffer>& buffer,
|
||||
bound_decode_cb.Run(kDecodeError);
|
||||
return;
|
||||
}
|
||||
// We might get a successfull VpxDecode but not a frame if only a partial
|
||||
// We might get a successful VpxDecode but not a frame if only a partial
|
||||
// decode happened.
|
||||
if (video_frame.get())
|
||||
output_cb_.Run(video_frame);
|
||||
|
@ -111,7 +111,7 @@ NET_EXPORT bool ParseUTCTimeRelaxed(const Input& in,
|
||||
|
||||
// Reads a DER-encoded ASN.1 GeneralizedTime value from |in| and puts the
|
||||
// resulting value in |out|, returning true if the GeneralizedTime could
|
||||
// be parsed sucessfully. This function is even more restrictive than the
|
||||
// be parsed successfully. This function is even more restrictive than the
|
||||
// DER rules - it follows the rules from RFC5280, which does not allow for
|
||||
// fractional seconds.
|
||||
NET_EXPORT bool ParseGeneralizedTime(const Input& in,
|
||||
|
@ -38,7 +38,7 @@ class ThreadedSSLPrivateKey : public SSLPrivateKey {
|
||||
virtual std::vector<SSLPrivateKey::Hash> GetDigestPreferences() = 0;
|
||||
virtual size_t GetMaxSignatureLengthInBytes() = 0;
|
||||
|
||||
// Signs |input| as a digest of type |hash|. On sucess it returns OK and
|
||||
// Signs |input| as a digest of type |hash|. On success it returns OK and
|
||||
// sets |signature| to the resulting signature. Otherwise it returns a net
|
||||
// error code. It will only be called on the task runner passed to the
|
||||
// owning ThreadedSSLPrivateKey.
|
||||
|
@ -47,7 +47,7 @@ class DocumentLoader {
|
||||
const std::string& url,
|
||||
const std::string& headers);
|
||||
|
||||
// Data access interface. Return true is sucessful.
|
||||
// Data access interface. Return true is successful.
|
||||
bool GetBlock(uint32_t position, uint32_t size, void* buf) const;
|
||||
|
||||
// Data availability interface. Return true data avaialble.
|
||||
|
@ -84,7 +84,7 @@ interface PPB_Compositor {
|
||||
* of a module.
|
||||
*
|
||||
* @return A <code>PP_Resource</code> containing the compositor resource if
|
||||
* sucessful or 0 otherwise.
|
||||
* successful or 0 otherwise.
|
||||
*/
|
||||
PP_Resource Create([in] PP_Instance instance);
|
||||
|
||||
@ -102,7 +102,7 @@ interface PPB_Compositor {
|
||||
* a compositor layer resource.
|
||||
*
|
||||
* @return A <code>PP_Resource</code> containing the compositor layer
|
||||
* resource if sucessful or 0 otherwise.
|
||||
* resource if successful or 0 otherwise.
|
||||
*/
|
||||
PP_Resource AddLayer([in] PP_Resource compositor);
|
||||
|
||||
|
@ -98,7 +98,7 @@ struct PPB_Compositor_0_1 { /* dev */
|
||||
* of a module.
|
||||
*
|
||||
* @return A <code>PP_Resource</code> containing the compositor resource if
|
||||
* sucessful or 0 otherwise.
|
||||
* successful or 0 otherwise.
|
||||
*/
|
||||
PP_Resource (*Create)(PP_Instance instance);
|
||||
/**
|
||||
@ -115,7 +115,7 @@ struct PPB_Compositor_0_1 { /* dev */
|
||||
* a compositor layer resource.
|
||||
*
|
||||
* @return A <code>PP_Resource</code> containing the compositor layer
|
||||
* resource if sucessful or 0 otherwise.
|
||||
* resource if successful or 0 otherwise.
|
||||
*/
|
||||
PP_Resource (*AddLayer)(PP_Resource compositor);
|
||||
/**
|
||||
|
@ -643,7 +643,7 @@ TEST_F(VideoEncoderResourceTest, InitializeFailure) {
|
||||
TEST_F(VideoEncoderResourceTest, InitializeSuccess) {
|
||||
{
|
||||
// Verify the initialize callback is called when initialization is
|
||||
// successfull.
|
||||
// successful.
|
||||
LockingResourceReleaser encoder(CreateEncoder());
|
||||
ResourceMessageCallParams params;
|
||||
PP_Size size = kFrameSize;
|
||||
|
@ -4,8 +4,6 @@
|
||||
|
||||
#include "printing/backend/print_backend.h"
|
||||
|
||||
#include "build/build_config.h"
|
||||
|
||||
#include <dlfcn.h>
|
||||
#include <errno.h>
|
||||
#include <pthread.h>
|
||||
@ -269,7 +267,8 @@ base::FilePath PrintBackendCUPS::GetPPD(const char* name) {
|
||||
// here.
|
||||
// Note: After looking at CUPS sources, it looks like non-blocking
|
||||
// connection will timeout after 10 seconds of no data period. And it will
|
||||
// return the same way as if data was completely and sucessfully downloaded.
|
||||
// return the same way as if data was completely and successfully
|
||||
// downloaded.
|
||||
HttpConnectionCUPS http(print_server_url_, cups_encryption_);
|
||||
http.SetBlocking(blocking_);
|
||||
ppd_file_path = cupsGetPPD2(http.http(), name);
|
||||
|
@ -282,7 +282,7 @@ bool RLZ_LIB_API CreateMachineState(void);
|
||||
// Set the OEM Deal Confirmation Code (DCC). This information is used for RLZ
|
||||
// initalization.
|
||||
// Access: HKLM write, or
|
||||
// HKCU read if rlz_lib::CreateMachineState() has been sucessfully called.
|
||||
// HKCU read if rlz_lib::CreateMachineState() has been successfully called.
|
||||
bool RLZ_LIB_API SetMachineDealCode(const char* dcc);
|
||||
|
||||
// Get the DCC cgi argument string to append to a daily ping.
|
||||
@ -337,7 +337,7 @@ bool RLZ_LIB_API SetMachineDealCodeFromPingResponse(const char* response);
|
||||
// the time skip check is specific to each supplementary brand.
|
||||
class SupplementaryBranding {
|
||||
public:
|
||||
SupplementaryBranding(const char* brand);
|
||||
explicit SupplementaryBranding(const char* brand);
|
||||
~SupplementaryBranding();
|
||||
|
||||
static const std::string& GetBrand();
|
||||
|
@ -56,7 +56,7 @@ class AppContainerAttributes {
|
||||
ResultCode CreateAppContainer(const base::string16& sid,
|
||||
const base::string16& name);
|
||||
|
||||
// Deletes an AppContainer previously created with a successfull call to
|
||||
// Deletes an AppContainer previously created with a successful call to
|
||||
// CreateAppContainer.
|
||||
ResultCode DeleteAppContainer(const base::string16& sid);
|
||||
|
||||
|
@ -719,7 +719,6 @@ TEST_F(SyncSchedulerTest, ThrottlingDoesThrottle) {
|
||||
PumpLoop();
|
||||
ASSERT_EQ(0, ready_counter.times_called());
|
||||
ASSERT_EQ(1, retry_counter.times_called());
|
||||
|
||||
}
|
||||
|
||||
TEST_F(SyncSchedulerTest, ThrottlingExpiresFromPoll) {
|
||||
@ -1084,7 +1083,6 @@ TEST_F(SyncSchedulerTest, BackoffDropsJobs) {
|
||||
PumpLoop();
|
||||
ASSERT_EQ(0, ready_counter.times_called());
|
||||
ASSERT_EQ(1, retry_counter.times_called());
|
||||
|
||||
}
|
||||
|
||||
// Test that backoff is shaping traffic properly with consecutive errors.
|
||||
@ -1201,7 +1199,7 @@ TEST_F(SyncSchedulerTest, TransientPollFailure) {
|
||||
|
||||
StartSyncScheduler(base::Time());
|
||||
|
||||
// Run the unsucessful poll. The failed poll should not trigger backoff.
|
||||
// Run the unsuccessful poll. The failed poll should not trigger backoff.
|
||||
RunLoop();
|
||||
EXPECT_TRUE(scheduler()->IsBackingOff());
|
||||
|
||||
|
@ -1324,7 +1324,7 @@ bool Directory::CheckTreeInvariants(syncable::BaseTransaction* trans,
|
||||
}
|
||||
// If the next check failed, it would imply that an item exists
|
||||
// on the server, isn't waiting for application locally, but either
|
||||
// is an unsynced create or a sucessful delete in the local copy.
|
||||
// is an unsynced create or a successful delete in the local copy.
|
||||
// Either way, that's a mismatch.
|
||||
if (!SyncAssert(0 == server_version, FROM_HERE,
|
||||
"Server version should be zero.",
|
||||
|
@ -48,7 +48,7 @@ testAPICalls();
|
||||
canvas.width = 0;
|
||||
testAPICalls();
|
||||
|
||||
// Test a canvas so large that it has no chance of successfull allocating a backing
|
||||
// Test a canvas so large that it has no chance of successful allocating a backing
|
||||
canvas.width = 10000000;
|
||||
canvas.height = 10000000;
|
||||
testAPICalls();
|
||||
|
@ -8,7 +8,7 @@
|
||||
border: solid 1px;
|
||||
}
|
||||
|
||||
/* Test 0: Download sucess */
|
||||
/* Test 0: Download success */
|
||||
@font-face {
|
||||
font-family:myfont_0;
|
||||
src: local('Courier'), local('Courier New');
|
||||
|
@ -1,3 +1,3 @@
|
||||
This tests that compatMode returns 'CSS1Compat' when the declared DTD is known (we are in almost strict mode). If the test is sucessful, the text below should say "SUCCESS".
|
||||
This tests that compatMode returns 'CSS1Compat' when the declared DTD is known (we are in almost strict mode). If the test is successful, the text below should say "SUCCESS".
|
||||
SUCCESS
|
||||
|
||||
|
@ -22,7 +22,7 @@ function runTests() {
|
||||
</script>
|
||||
</head>
|
||||
<body onload="runTests();">
|
||||
This tests that compatMode returns 'CSS1Compat' when the declared DTD is known (we are in almost strict mode). If the test is sucessful, the text below should say "SUCCESS".
|
||||
This tests that compatMode returns 'CSS1Compat' when the declared DTD is known (we are in almost strict mode). If the test is successful, the text below should say "SUCCESS".
|
||||
<pre id="console">
|
||||
</pre>
|
||||
</body>
|
||||
|
@ -1,3 +1,3 @@
|
||||
This tests that compatMode returns 'BackCompat' when we are in quirk mode. If the test is sucessful, the text below should say "SUCCESS".
|
||||
This tests that compatMode returns 'BackCompat' when we are in quirk mode. If the test is successful, the text below should say "SUCCESS".
|
||||
SUCCESS
|
||||
|
||||
|
@ -20,7 +20,7 @@ function runTests() {
|
||||
</script>
|
||||
</head>
|
||||
<body onload="runTests();">
|
||||
This tests that compatMode returns 'BackCompat' when we are in quirk mode. If the test is sucessful, the text below should say "SUCCESS".
|
||||
This tests that compatMode returns 'BackCompat' when we are in quirk mode. If the test is successful, the text below should say "SUCCESS".
|
||||
<pre id="console">
|
||||
</pre>
|
||||
</body>
|
||||
|
@ -1,3 +1,3 @@
|
||||
This tests that compatMode returns 'CSS1Compat' when the declared DTD is known (we are in strict mode). If the test is sucessful, the text below should say "SUCCESS".
|
||||
This tests that compatMode returns 'CSS1Compat' when the declared DTD is known (we are in strict mode). If the test is successful, the text below should say "SUCCESS".
|
||||
SUCCESS
|
||||
|
||||
|
@ -22,7 +22,7 @@ function runTests() {
|
||||
</script>
|
||||
</head>
|
||||
<body onload="runTests();">
|
||||
This tests that compatMode returns 'CSS1Compat' when the declared DTD is known (we are in strict mode). If the test is sucessful, the text below should say "SUCCESS".
|
||||
This tests that compatMode returns 'CSS1Compat' when the declared DTD is known (we are in strict mode). If the test is successful, the text below should say "SUCCESS".
|
||||
<pre id="console">
|
||||
</pre>
|
||||
</body>
|
||||
|
8
third_party/WebKit/LayoutTests/fast/events/touch/gesture/gesture-tap-input-after-composition.html
vendored
8
third_party/WebKit/LayoutTests/fast/events/touch/gesture/gesture-tap-input-after-composition.html
vendored
@ -6,7 +6,7 @@
|
||||
<script>
|
||||
test(function(t)
|
||||
{
|
||||
var sucessInput = false;
|
||||
var successInput = false;
|
||||
if (!window.eventSender)
|
||||
return;
|
||||
var input = document.getElementById('input1');
|
||||
@ -18,7 +18,7 @@ test(function(t)
|
||||
|
||||
var input2 = document.getElementById('input2');
|
||||
input2.addEventListener('input', function () {
|
||||
sucessInput = true;
|
||||
successInput = true;
|
||||
});
|
||||
var x = input2.offsetLeft + input2.offsetWidth / 2;
|
||||
var y = input2.offsetTop + input2.offsetHeight / 2;
|
||||
@ -27,6 +27,6 @@ test(function(t)
|
||||
eventSender.gestureTap(x, y);
|
||||
|
||||
eventSender.keyDown('a');
|
||||
assert_true(sucessInput);
|
||||
assert_true(successInput);
|
||||
}, "This tests if the composition is reset before tapping of gesture.");
|
||||
</script>
|
||||
</script>
|
||||
|
@ -1015,7 +1015,7 @@ test("synchronous request", function() {
|
||||
test("synchronous request with callbacks", function() {
|
||||
expect(2);
|
||||
var result;
|
||||
jQuery.ajax({url: url("data/json_obj.js"), async: false, dataType: "text", success: function(data) { ok(true, "sucess callback executed"); result = data; } });
|
||||
jQuery.ajax({url: url("data/json_obj.js"), async: false, dataType: "text", success: function(data) { ok(true, "success callback executed"); result = data; } });
|
||||
ok( /^{ "data"/.test( result ), "check returned text" );
|
||||
});
|
||||
|
||||
@ -2249,4 +2249,4 @@ test("jQuery.ajax - active counter", function() {
|
||||
|
||||
}
|
||||
|
||||
//}
|
||||
//}
|
||||
|
@ -12,7 +12,7 @@ You need to open the above link in a new tab. In the opened page, just click on
|
||||
<br>
|
||||
This test checks if you can go back to a _blank-target previously tab-opened page.
|
||||
<br>
|
||||
If the webkit doesn't meet an assertion error : this test is Successfull.
|
||||
If the webkit doesn't meet an assertion error : this test is Successful.
|
||||
<br>
|
||||
When you click on the above link, one page (with _blank target) is loaded and this page will open a link and go back.
|
||||
</body>
|
||||
|
@ -12,6 +12,6 @@ This test checks if you can go back to a _blank previously tab-opened page.
|
||||
<br>
|
||||
When you click on the above link, one page is loaded and tries to go back.
|
||||
<br>
|
||||
If the webkit doesn't meet an assertion failure : this test is successfull.
|
||||
If the webkit doesn't meet an assertion failure : this test is successful.
|
||||
</body>
|
||||
</html>
|
||||
|
@ -18235,7 +18235,7 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries.
|
||||
<histogram name="Media.EME.CdmFileIO.FileSizeKBOnError" units="KB">
|
||||
<owner>xhwang@chromium.org</owner>
|
||||
<summary>
|
||||
Size in KB of the last file sucessfully read by the CDM through CDM FileIO
|
||||
Size in KB of the last file successfully read by the CDM through CDM FileIO
|
||||
before a specific error happens. This is reported only when the error
|
||||
happens, which should be rare.
|
||||
</summary>
|
||||
@ -18244,8 +18244,8 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries.
|
||||
<histogram name="Media.EME.CdmFileIO.FileSizeKBOnFirstRead" units="KB">
|
||||
<owner>xhwang@chromium.org</owner>
|
||||
<summary>
|
||||
Size in KB of the first file sucessfully read by the CDM through CDM FileIO.
|
||||
This is recorded once per CDM instance.
|
||||
Size in KB of the first file successfully read by the CDM through CDM
|
||||
FileIO. This is recorded once per CDM instance.
|
||||
</summary>
|
||||
</histogram>
|
||||
|
||||
|
Reference in New Issue
Block a user