Remove most remaining semicolons in a release win build.
Bug: 926235 Change-Id: Ie09ab129d102672a4d0de8ee2d80d2b5dd7b371e Reviewed-on: https://chromium-review.googlesource.com/c/1483256 Auto-Submit: Nico Weber <thakis@chromium.org> Reviewed-by: Scott Violet <sky@chromium.org> Commit-Queue: Nico Weber <thakis@chromium.org> Cr-Commit-Position: refs/heads/master@{#634928}
This commit is contained in:
base/win
chrome
browser
ui
views
bookmarks
credential_provider
test
installer
chrome_elf/nt_registry
content
browser
renderer_host
test
device
bluetooth
fido
vr
windows
media
rlz/win/lib
sandbox/win/src
job.ccpolicy_engine_params.hresolver_64.ccservice_resolver_64.ccservice_resolver_unittest.cctarget_process.hwin_utils.cc
ui/events/devices
@ -144,7 +144,7 @@ HRESULT EtwTraceController::Query(const wchar_t* session_name,
|
|||||||
ULONG err = ::ControlTrace(NULL, session_name, properties->get(),
|
ULONG err = ::ControlTrace(NULL, session_name, properties->get(),
|
||||||
EVENT_TRACE_CONTROL_QUERY);
|
EVENT_TRACE_CONTROL_QUERY);
|
||||||
return HRESULT_FROM_WIN32(err);
|
return HRESULT_FROM_WIN32(err);
|
||||||
};
|
}
|
||||||
|
|
||||||
HRESULT EtwTraceController::Update(const wchar_t* session_name,
|
HRESULT EtwTraceController::Update(const wchar_t* session_name,
|
||||||
EtwTraceProperties* properties) {
|
EtwTraceProperties* properties) {
|
||||||
|
@ -2257,11 +2257,11 @@ class BookmarkBarViewTest25 : public BookmarkBarViewEventTestBase {
|
|||||||
|
|
||||||
// Tests that pressing F10 system key closes the menu.
|
// Tests that pressing F10 system key closes the menu.
|
||||||
using BookmarkBarViewTest25F10 = BookmarkBarViewTest25<ui::VKEY_F10>;
|
using BookmarkBarViewTest25F10 = BookmarkBarViewTest25<ui::VKEY_F10>;
|
||||||
VIEW_TEST(BookmarkBarViewTest25F10, F10ClosesMenu);
|
VIEW_TEST(BookmarkBarViewTest25F10, F10ClosesMenu)
|
||||||
|
|
||||||
// Tests that pressing Alt system key closes the menu.
|
// Tests that pressing Alt system key closes the menu.
|
||||||
using BookmarkBarViewTest25Alt = BookmarkBarViewTest25<ui::VKEY_MENU>;
|
using BookmarkBarViewTest25Alt = BookmarkBarViewTest25<ui::VKEY_MENU>;
|
||||||
VIEW_TEST(BookmarkBarViewTest25Alt, AltClosesMenu);
|
VIEW_TEST(BookmarkBarViewTest25Alt, AltClosesMenu)
|
||||||
|
|
||||||
// Tests that WM_CANCELMODE closes the menu.
|
// Tests that WM_CANCELMODE closes the menu.
|
||||||
class BookmarkBarViewTest26 : public BookmarkBarViewEventTestBase {
|
class BookmarkBarViewTest26 : public BookmarkBarViewEventTestBase {
|
||||||
@ -2304,7 +2304,7 @@ class BookmarkBarViewTest26 : public BookmarkBarViewEventTestBase {
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
VIEW_TEST(BookmarkBarViewTest26, CancelModeClosesMenu);
|
VIEW_TEST(BookmarkBarViewTest26, CancelModeClosesMenu)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
class BookmarkBarViewTest27 : public BookmarkBarViewEventTestBase {
|
class BookmarkBarViewTest27 : public BookmarkBarViewEventTestBase {
|
||||||
|
@ -58,7 +58,7 @@ FakeCredentialProviderUser::GetValue(REFPROPERTYKEY key, PROPVARIANT* value) {
|
|||||||
return E_NOTIMPL;
|
return E_NOTIMPL;
|
||||||
}
|
}
|
||||||
|
|
||||||
IMPL_IUNKOWN_NOQI_NOREF(FakeCredentialProviderUser);
|
IMPL_IUNKOWN_NOQI_NOREF(FakeCredentialProviderUser)
|
||||||
|
|
||||||
///////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
@ -88,7 +88,7 @@ HRESULT FakeCredentialProviderUserArray::GetAt(DWORD index,
|
|||||||
return S_OK;
|
return S_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
IMPL_IUNKOWN_NOQI_NOREF(FakeCredentialProviderUserArray);
|
IMPL_IUNKOWN_NOQI_NOREF(FakeCredentialProviderUserArray)
|
||||||
|
|
||||||
///////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
@ -102,7 +102,7 @@ HRESULT FakeCredentialProviderEvents::CredentialsChanged(
|
|||||||
return S_OK;
|
return S_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
IMPL_IUNKOWN_NOQI_NOREF(FakeCredentialProviderEvents);
|
IMPL_IUNKOWN_NOQI_NOREF(FakeCredentialProviderEvents)
|
||||||
|
|
||||||
///////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
@ -129,6 +129,6 @@ HRESULT FakeGaiaCredentialProvider::OnUserAuthenticated(
|
|||||||
return S_OK;
|
return S_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
IMPL_IUNKOWN_NOQI_NOREF(FakeGaiaCredentialProvider);
|
IMPL_IUNKOWN_NOQI_NOREF(FakeGaiaCredentialProvider)
|
||||||
|
|
||||||
} // namespace credential_provider
|
} // namespace credential_provider
|
||||||
|
@ -16,13 +16,13 @@
|
|||||||
#include "testing/gtest/include/gtest/gtest.h"
|
#include "testing/gtest/include/gtest/gtest.h"
|
||||||
|
|
||||||
namespace {
|
namespace {
|
||||||
class CreateDirWorkItemTest : public testing::Test {
|
class CreateDirWorkItemTest : public testing::Test {
|
||||||
protected:
|
protected:
|
||||||
void SetUp() override { ASSERT_TRUE(temp_dir_.CreateUniqueTempDir()); }
|
void SetUp() override { ASSERT_TRUE(temp_dir_.CreateUniqueTempDir()); }
|
||||||
|
|
||||||
base::ScopedTempDir temp_dir_;
|
base::ScopedTempDir temp_dir_;
|
||||||
};
|
|
||||||
};
|
};
|
||||||
|
} // namespace
|
||||||
|
|
||||||
TEST_F(CreateDirWorkItemTest, CreatePath) {
|
TEST_F(CreateDirWorkItemTest, CreatePath) {
|
||||||
base::FilePath parent_dir(temp_dir_.GetPath());
|
base::FilePath parent_dir(temp_dir_.GetPath());
|
||||||
|
@ -75,7 +75,7 @@ const wchar_t DuplicateTreeDetectorTest::text_content_2_[] =
|
|||||||
const wchar_t DuplicateTreeDetectorTest::text_content_3_[] =
|
const wchar_t DuplicateTreeDetectorTest::text_content_3_[] =
|
||||||
L"I'd rather see your watermelon and raise you ham and a half.";
|
L"I'd rather see your watermelon and raise you ham and a half.";
|
||||||
|
|
||||||
}; // namespace
|
} // namespace
|
||||||
|
|
||||||
// Test the DuplicateTreeChecker's definition of identity on two identical
|
// Test the DuplicateTreeChecker's definition of identity on two identical
|
||||||
// directory structures.
|
// directory structures.
|
||||||
|
@ -34,7 +34,7 @@ class FirewallManagerAdvancedImpl : public FirewallManager {
|
|||||||
// FirewallManager methods.
|
// FirewallManager methods.
|
||||||
bool CanUseLocalPorts() override {
|
bool CanUseLocalPorts() override {
|
||||||
return !manager_.IsFirewallEnabled() || manager_.HasAnyRule();
|
return !manager_.IsFirewallEnabled() || manager_.HasAnyRule();
|
||||||
};
|
}
|
||||||
|
|
||||||
bool AddFirewallRules() override {
|
bool AddFirewallRules() override {
|
||||||
return manager_.AddUDPRule(GetMdnsRuleName(), GetMdnsRuleDescription(),
|
return manager_.AddUDPRule(GetMdnsRuleName(), GetMdnsRuleDescription(),
|
||||||
|
@ -54,7 +54,7 @@ std::wstring ReadTextFile(const base::FilePath& path) {
|
|||||||
|
|
||||||
const wchar_t kTextContent1[] = L"Gooooooooooooooooooooogle";
|
const wchar_t kTextContent1[] = L"Gooooooooooooooooooooogle";
|
||||||
const wchar_t kTextContent2[] = L"Overwrite Me";
|
const wchar_t kTextContent2[] = L"Overwrite Me";
|
||||||
}; // namespace
|
} // namespace
|
||||||
|
|
||||||
// Move one directory from source to destination when destination does not
|
// Move one directory from source to destination when destination does not
|
||||||
// exist.
|
// exist.
|
||||||
|
@ -1223,4 +1223,4 @@ std::wstring GetTestingOverride(ROOT_KEY root) {
|
|||||||
return g_HKLM_override;
|
return g_HKLM_override;
|
||||||
}
|
}
|
||||||
|
|
||||||
}; // namespace nt
|
} // namespace nt
|
||||||
|
@ -262,6 +262,6 @@ bool SetTestingOverride(ROOT_KEY root, const std::wstring& new_path);
|
|||||||
// Getter function for test suites that use reg redirection.
|
// Getter function for test suites that use reg redirection.
|
||||||
std::wstring GetTestingOverride(ROOT_KEY root);
|
std::wstring GetTestingOverride(ROOT_KEY root);
|
||||||
|
|
||||||
}; // namespace nt
|
} // namespace nt
|
||||||
|
|
||||||
#endif // CHROME_ELF_NT_REGISTRY_NT_REGISTRY_H_
|
#endif // CHROME_ELF_NT_REGISTRY_NT_REGISTRY_H_
|
||||||
|
@ -85,7 +85,7 @@ bool ExtractCaseFoldedLocalizedStrings(
|
|||||||
class ScopedAutoSignal {
|
class ScopedAutoSignal {
|
||||||
public:
|
public:
|
||||||
ScopedAutoSignal(base::WaitableEvent* waitable_event)
|
ScopedAutoSignal(base::WaitableEvent* waitable_event)
|
||||||
: waitable_event_(waitable_event){};
|
: waitable_event_(waitable_event) {}
|
||||||
~ScopedAutoSignal() { waitable_event_->Signal(); }
|
~ScopedAutoSignal() { waitable_event_->Signal(); }
|
||||||
|
|
||||||
private:
|
private:
|
||||||
@ -99,7 +99,7 @@ class ScopedAutoSignal {
|
|||||||
DWriteFontLookupTableBuilder::FontFileWithUniqueNames::FontFileWithUniqueNames(
|
DWriteFontLookupTableBuilder::FontFileWithUniqueNames::FontFileWithUniqueNames(
|
||||||
blink::FontUniqueNameTable_UniqueFont&& font,
|
blink::FontUniqueNameTable_UniqueFont&& font,
|
||||||
std::vector<std::string>&& names)
|
std::vector<std::string>&& names)
|
||||||
: font_entry(std::move(font)), extracted_names(std::move(names)){};
|
: font_entry(std::move(font)), extracted_names(std::move(names)) {}
|
||||||
|
|
||||||
DWriteFontLookupTableBuilder::FontFileWithUniqueNames::
|
DWriteFontLookupTableBuilder::FontFileWithUniqueNames::
|
||||||
~FontFileWithUniqueNames() = default;
|
~FontFileWithUniqueNames() = default;
|
||||||
|
@ -60,7 +60,7 @@ class CONTENT_EXPORT LegacyRenderWidgetHostHWND
|
|||||||
ATL::CWindow,
|
ATL::CWindow,
|
||||||
ATL::CWinTraits<WS_CHILD>> {
|
ATL::CWinTraits<WS_CHILD>> {
|
||||||
public:
|
public:
|
||||||
DECLARE_WND_CLASS_EX(L"Chrome_RenderWidgetHostHWND", CS_DBLCLKS, 0);
|
DECLARE_WND_CLASS_EX(L"Chrome_RenderWidgetHostHWND", CS_DBLCLKS, 0)
|
||||||
|
|
||||||
typedef ATL::CWindowImpl<LegacyRenderWidgetHostHWND,
|
typedef ATL::CWindowImpl<LegacyRenderWidgetHostHWND,
|
||||||
ATL::CWindow,
|
ATL::CWindow,
|
||||||
|
@ -6772,7 +6772,7 @@ class RenderWidgetHostViewAuraKeyboardTest
|
|||||||
: public RenderWidgetHostViewAuraTest {
|
: public RenderWidgetHostViewAuraTest {
|
||||||
public:
|
public:
|
||||||
RenderWidgetHostViewAuraKeyboardTest() = default;
|
RenderWidgetHostViewAuraKeyboardTest() = default;
|
||||||
~RenderWidgetHostViewAuraKeyboardTest() override{};
|
~RenderWidgetHostViewAuraKeyboardTest() override {}
|
||||||
void SetUp() override {
|
void SetUp() override {
|
||||||
input_method_ = new RenderWidgetHostViewAuraKeyboardMockInputMethod();
|
input_method_ = new RenderWidgetHostViewAuraKeyboardMockInputMethod();
|
||||||
// transfers ownership.
|
// transfers ownership.
|
||||||
|
@ -129,7 +129,7 @@ void FakeFontCollection::MapCharacters(
|
|||||||
}
|
}
|
||||||
|
|
||||||
void FakeFontCollection::GetUniqueNameLookupTable(
|
void FakeFontCollection::GetUniqueNameLookupTable(
|
||||||
GetUniqueNameLookupTableCallback callback){};
|
GetUniqueNameLookupTableCallback callback) {}
|
||||||
|
|
||||||
FakeFontCollection::~FakeFontCollection() = default;
|
FakeFontCollection::~FakeFontCollection() = default;
|
||||||
|
|
||||||
|
@ -161,7 +161,7 @@ class TestBluetoothAdapterWinrt : public BluetoothAdapterWinrt {
|
|||||||
IBluetoothAdapterStatics** statics) const override {
|
IBluetoothAdapterStatics** statics) const override {
|
||||||
auto adapter_statics = Make<FakeBluetoothAdapterStaticsWinrt>(adapter_);
|
auto adapter_statics = Make<FakeBluetoothAdapterStaticsWinrt>(adapter_);
|
||||||
return adapter_statics.CopyTo(statics);
|
return adapter_statics.CopyTo(statics);
|
||||||
};
|
}
|
||||||
|
|
||||||
HRESULT
|
HRESULT
|
||||||
GetDeviceInformationStaticsActivationFactory(
|
GetDeviceInformationStaticsActivationFactory(
|
||||||
@ -169,7 +169,7 @@ class TestBluetoothAdapterWinrt : public BluetoothAdapterWinrt {
|
|||||||
auto device_information_statics =
|
auto device_information_statics =
|
||||||
Make<FakeDeviceInformationStaticsWinrt>(device_information_);
|
Make<FakeDeviceInformationStaticsWinrt>(device_information_);
|
||||||
return device_information_statics.CopyTo(statics);
|
return device_information_statics.CopyTo(statics);
|
||||||
};
|
}
|
||||||
|
|
||||||
HRESULT ActivateBluetoothAdvertisementLEWatcherInstance(
|
HRESULT ActivateBluetoothAdvertisementLEWatcherInstance(
|
||||||
IBluetoothLEAdvertisementWatcher** instance) const override {
|
IBluetoothLEAdvertisementWatcher** instance) const override {
|
||||||
|
@ -58,7 +58,7 @@ HRESULT FakeWinWebAuthnApi::CancelCurrentOperation(GUID* cancellation_id) {
|
|||||||
const wchar_t* FakeWinWebAuthnApi::GetErrorName(HRESULT hr) {
|
const wchar_t* FakeWinWebAuthnApi::GetErrorName(HRESULT hr) {
|
||||||
DCHECK(is_available_);
|
DCHECK(is_available_);
|
||||||
return L"not implemented";
|
return L"not implemented";
|
||||||
};
|
}
|
||||||
|
|
||||||
ScopedFakeWinWebAuthnApi::ScopedFakeWinWebAuthnApi() : FakeWinWebAuthnApi() {
|
ScopedFakeWinWebAuthnApi::ScopedFakeWinWebAuthnApi() : FakeWinWebAuthnApi() {
|
||||||
WinWebAuthnApi::SetDefaultForTesting(this);
|
WinWebAuthnApi::SetDefaultForTesting(this);
|
||||||
|
@ -126,7 +126,7 @@ TEST(TypeConversionsTest, ToAuthenticatorMakeCredentialResponse) {
|
|||||||
test.cbor_attestation_statement);
|
test.cbor_attestation_statement);
|
||||||
EXPECT_EQ(response->transport_used(), test.expected_transport);
|
EXPECT_EQ(response->transport_used(), test.expected_transport);
|
||||||
}
|
}
|
||||||
};
|
}
|
||||||
|
|
||||||
} // namespace
|
} // namespace
|
||||||
} // namespace device
|
} // namespace device
|
||||||
|
@ -152,7 +152,7 @@ class WinWebAuthnApiImpl : public WinWebAuthnApi {
|
|||||||
const wchar_t* GetErrorName(HRESULT hr) override {
|
const wchar_t* GetErrorName(HRESULT hr) override {
|
||||||
DCHECK(is_bound_);
|
DCHECK(is_bound_);
|
||||||
return get_error_name_(hr);
|
return get_error_name_(hr);
|
||||||
};
|
}
|
||||||
|
|
||||||
private:
|
private:
|
||||||
std::pair<HRESULT, ScopedCredentialAttestation>
|
std::pair<HRESULT, ScopedCredentialAttestation>
|
||||||
|
@ -24,7 +24,7 @@ void XRDeviceAbstraction::OnSessionStart() {}
|
|||||||
void XRDeviceAbstraction::HandleDeviceLost() {}
|
void XRDeviceAbstraction::HandleDeviceLost() {}
|
||||||
bool XRDeviceAbstraction::PreComposite() {
|
bool XRDeviceAbstraction::PreComposite() {
|
||||||
return true;
|
return true;
|
||||||
};
|
}
|
||||||
void XRDeviceAbstraction::OnLayerBoundsChanged() {}
|
void XRDeviceAbstraction::OnLayerBoundsChanged() {}
|
||||||
|
|
||||||
XRCompositorCommon::OutstandingFrame::OutstandingFrame() = default;
|
XRCompositorCommon::OutstandingFrame::OutstandingFrame() = default;
|
||||||
@ -154,7 +154,7 @@ void XRCompositorCommon::UpdateLayerBounds(int16_t frame_id,
|
|||||||
source_size_ = source_size;
|
source_size_ = source_size;
|
||||||
|
|
||||||
OnLayerBoundsChanged();
|
OnLayerBoundsChanged();
|
||||||
};
|
}
|
||||||
|
|
||||||
void XRCompositorCommon::RequestSession(
|
void XRCompositorCommon::RequestSession(
|
||||||
base::OnceCallback<void()> on_presentation_ended,
|
base::OnceCallback<void()> on_presentation_ended,
|
||||||
|
@ -38,7 +38,6 @@ const GUID kMediaSubTypeHDYC = {
|
|||||||
0x0000,
|
0x0000,
|
||||||
0x0010,
|
0x0010,
|
||||||
{0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71}};
|
{0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71}};
|
||||||
;
|
|
||||||
|
|
||||||
// 16-bit grey-scale single plane formats provided by some depth cameras.
|
// 16-bit grey-scale single plane formats provided by some depth cameras.
|
||||||
const GUID kMediaSubTypeZ16 = {
|
const GUID kMediaSubTypeZ16 = {
|
||||||
|
@ -17,9 +17,9 @@ class D3D11VP9Picture : public VP9Picture {
|
|||||||
public:
|
public:
|
||||||
explicit D3D11VP9Picture(D3D11PictureBuffer* picture_buffer);
|
explicit D3D11VP9Picture(D3D11PictureBuffer* picture_buffer);
|
||||||
|
|
||||||
D3D11PictureBuffer* picture_buffer() const { return picture_buffer_; };
|
D3D11PictureBuffer* picture_buffer() const { return picture_buffer_; }
|
||||||
|
|
||||||
size_t level() const { return level_; };
|
size_t level() const { return level_; }
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
~D3D11VP9Picture() override;
|
~D3D11VP9Picture() override;
|
||||||
|
@ -82,4 +82,4 @@ bool ProcessInfo::HasAdminRights() {
|
|||||||
return has_rights;
|
return has_rights;
|
||||||
}
|
}
|
||||||
|
|
||||||
}; // namespace
|
} // namespace rlz_lib
|
||||||
|
@ -20,6 +20,6 @@ class ProcessInfo {
|
|||||||
private:
|
private:
|
||||||
DISALLOW_COPY_AND_ASSIGN(ProcessInfo);
|
DISALLOW_COPY_AND_ASSIGN(ProcessInfo);
|
||||||
}; // class
|
}; // class
|
||||||
}; // namespace
|
} // namespace rlz_lib
|
||||||
|
|
||||||
#endif // RLZ_WIN_LIB_PROCESS_INFO_H_
|
#endif // RLZ_WIN_LIB_PROCESS_INFO_H_
|
||||||
|
@ -12,9 +12,9 @@
|
|||||||
|
|
||||||
namespace sandbox {
|
namespace sandbox {
|
||||||
|
|
||||||
Job::Job() : job_handle_(nullptr){};
|
Job::Job() : job_handle_(nullptr) {}
|
||||||
|
|
||||||
Job::~Job(){};
|
Job::~Job() {}
|
||||||
|
|
||||||
DWORD Job::Init(JobLevel security_level,
|
DWORD Job::Init(JobLevel security_level,
|
||||||
const wchar_t* job_name,
|
const wchar_t* job_name,
|
||||||
|
@ -160,7 +160,7 @@ class ParameterSetEx<UNICODE_STRING> : public ParameterSet {
|
|||||||
template <typename T>
|
template <typename T>
|
||||||
ParameterSet ParamPickerMake(T& parameter) {
|
ParameterSet ParamPickerMake(T& parameter) {
|
||||||
return ParameterSetEx<T>(¶meter);
|
return ParameterSetEx<T>(¶meter);
|
||||||
};
|
}
|
||||||
|
|
||||||
struct CountedParameterSetBase {
|
struct CountedParameterSetBase {
|
||||||
size_t count;
|
size_t count;
|
||||||
|
@ -31,7 +31,7 @@ struct InternalThunk {
|
|||||||
mov_rax = kMovRax;
|
mov_rax = kMovRax;
|
||||||
jmp_rax = kJmpRax;
|
jmp_rax = kJmpRax;
|
||||||
interceptor_function = 0;
|
interceptor_function = 0;
|
||||||
};
|
}
|
||||||
USHORT mov_rax; // = 48 B8
|
USHORT mov_rax; // = 48 B8
|
||||||
ULONG_PTR interceptor_function;
|
ULONG_PTR interceptor_function;
|
||||||
USHORT jmp_rax; // = ff e0
|
USHORT jmp_rax; // = ff e0
|
||||||
|
@ -168,7 +168,7 @@ bool IsAnyService(const void* source) {
|
|||||||
#error "Unsupported Windows 64-bit Arch"
|
#error "Unsupported Windows 64-bit Arch"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
}; // namespace
|
} // namespace
|
||||||
|
|
||||||
namespace sandbox {
|
namespace sandbox {
|
||||||
|
|
||||||
|
@ -62,7 +62,7 @@ class ResolverThunkTestImpl : public T, public ResolverThunkTest {
|
|||||||
this->target_ = fake_target_;
|
this->target_ = fake_target_;
|
||||||
|
|
||||||
return ret;
|
return ret;
|
||||||
};
|
}
|
||||||
|
|
||||||
DISALLOW_COPY_AND_ASSIGN(ResolverThunkTestImpl);
|
DISALLOW_COPY_AND_ASSIGN(ResolverThunkTestImpl);
|
||||||
};
|
};
|
||||||
|
@ -25,8 +25,8 @@ namespace win {
|
|||||||
|
|
||||||
class StartupInformation;
|
class StartupInformation;
|
||||||
|
|
||||||
}; // namespace win
|
} // namespace win
|
||||||
}; // namespace base
|
} // namespace base
|
||||||
|
|
||||||
namespace sandbox {
|
namespace sandbox {
|
||||||
|
|
||||||
|
@ -516,7 +516,7 @@ void* GetProcessBaseAddress(HANDLE process) {
|
|||||||
return base_address;
|
return base_address;
|
||||||
}
|
}
|
||||||
|
|
||||||
}; // namespace sandbox
|
} // namespace sandbox
|
||||||
|
|
||||||
void ResolveNTFunctionPtr(const char* name, void* ptr) {
|
void ResolveNTFunctionPtr(const char* name, void* ptr) {
|
||||||
static volatile HMODULE ntdll = nullptr;
|
static volatile HMODULE ntdll = nullptr;
|
||||||
|
@ -82,9 +82,9 @@ void InputDeviceObserverWin::RemoveObserver(
|
|||||||
}
|
}
|
||||||
|
|
||||||
WIN_NOTIFY_OBSERVERS(NotifyObserversKeyboardDeviceConfigurationChanged(),
|
WIN_NOTIFY_OBSERVERS(NotifyObserversKeyboardDeviceConfigurationChanged(),
|
||||||
kKeyboard);
|
kKeyboard)
|
||||||
|
|
||||||
WIN_NOTIFY_OBSERVERS(NotifyObserversTouchpadDeviceConfigurationChanged(),
|
WIN_NOTIFY_OBSERVERS(NotifyObserversTouchpadDeviceConfigurationChanged(),
|
||||||
kTouchpad);
|
kTouchpad)
|
||||||
|
|
||||||
} // namespace ui
|
} // namespace ui
|
||||||
|
Reference in New Issue
Block a user