forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rewrite line endings from CRLF to LF for a bunch of files.
There's a lot of other files with CRLF line endings in test data, third_party, and tools. Out of caution, those files have been left unchanged, in case anything depends on the CRLF being present. BUG=420796 TBR=darin@chromium.org, rsleevi@chromium.org, sky@chromium.org Review URL: https://codereview.chromium.org/630333002 Cr-Commit-Position: refs/heads/master@{#298348}
- Loading branch information
1 parent
d974ccd
commit d42a8f8
Showing
29 changed files
with
956 additions
and
956 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,34 +1,34 @@ | ||
// Copyright (c) 2013 The Chromium Authors. All rights reserved. | ||
// Use of this source code is governed by a BSD-style license that can be | ||
// found in the LICENSE file. | ||
|
||
#ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_MESSAGE_BUBBLE_H_ | ||
#define CHROME_BROWSER_EXTENSIONS_EXTENSION_MESSAGE_BUBBLE_H_ | ||
|
||
#include "base/bind.h" | ||
|
||
class Browser; | ||
|
||
namespace extensions { | ||
|
||
// The interface between the SuspiciousExtensionBubble bubble and its | ||
// controller. | ||
class ExtensionMessageBubble { | ||
public: | ||
// Setup the callback for when the action button is clicked in the | ||
// bubble. | ||
virtual void OnActionButtonClicked(const base::Closure& callback) = 0; | ||
|
||
// Setup the callback for when the dismiss button is clicked. | ||
virtual void OnDismissButtonClicked(const base::Closure& callback) = 0; | ||
|
||
// Setup the callback for when the link is clicked in the bubble. | ||
virtual void OnLinkClicked(const base::Closure& callback) = 0; | ||
|
||
// Instruct the bubble to appear. | ||
virtual void Show() = 0; | ||
}; | ||
|
||
} // namespace extensions | ||
|
||
#endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_MESSAGE_BUBBLE_H_ | ||
// Copyright (c) 2013 The Chromium Authors. All rights reserved. | ||
// Use of this source code is governed by a BSD-style license that can be | ||
// found in the LICENSE file. | ||
|
||
#ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_MESSAGE_BUBBLE_H_ | ||
#define CHROME_BROWSER_EXTENSIONS_EXTENSION_MESSAGE_BUBBLE_H_ | ||
|
||
#include "base/bind.h" | ||
|
||
class Browser; | ||
|
||
namespace extensions { | ||
|
||
// The interface between the SuspiciousExtensionBubble bubble and its | ||
// controller. | ||
class ExtensionMessageBubble { | ||
public: | ||
// Setup the callback for when the action button is clicked in the | ||
// bubble. | ||
virtual void OnActionButtonClicked(const base::Closure& callback) = 0; | ||
|
||
// Setup the callback for when the dismiss button is clicked. | ||
virtual void OnDismissButtonClicked(const base::Closure& callback) = 0; | ||
|
||
// Setup the callback for when the link is clicked in the bubble. | ||
virtual void OnLinkClicked(const base::Closure& callback) = 0; | ||
|
||
// Instruct the bubble to appear. | ||
virtual void Show() = 0; | ||
}; | ||
|
||
} // namespace extensions | ||
|
||
#endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_MESSAGE_BUBBLE_H_ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
isherman@chromium.org | ||
isherman@chromium.org | ||
pkasting@chromium.org |
80 changes: 40 additions & 40 deletions
80
chrome/browser/profiles/file_path_verifier_win_unittest.cc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,40 +1,40 @@ | ||
// Copyright 2013 The Chromium Authors. All rights reserved. | ||
// Use of this source code is governed by a BSD-style license that can be | ||
// found in the LICENSE file. | ||
|
||
#include "chrome/browser/profiles/file_path_verifier_win.h" | ||
|
||
#include "base/files/file_path.h" | ||
#include "testing/gtest/include/gtest/gtest.h" | ||
|
||
TEST(FilePathVerifierTest, ComparePathsIgnoreCase) { | ||
const struct PathComparisonReasonTestData { | ||
const base::FilePath::CharType* inputs[2]; | ||
internal::PathComparisonReason expected; | ||
} cases[] = { | ||
{ { FILE_PATH_LITERAL("test/foo.bar"), | ||
FILE_PATH_LITERAL("test/foo.bar") }, | ||
internal::PATH_COMPARISON_EQUAL}, | ||
{ { FILE_PATH_LITERAL("test\\foo.bar"), | ||
FILE_PATH_LITERAL("test\\foo.bar") }, | ||
internal::PATH_COMPARISON_EQUAL}, | ||
{ { FILE_PATH_LITERAL("test/foo.bar"), | ||
FILE_PATH_LITERAL("test/foo.baz") }, | ||
internal::PATH_COMPARISON_FAILED_SAMEDIR}, | ||
{ { FILE_PATH_LITERAL("test/foo.bar"), | ||
FILE_PATH_LITERAL("test/joe/foo.bar") }, | ||
internal::PATH_COMPARISON_FAILED_SAMEBASE}, | ||
{ { FILE_PATH_LITERAL("test/foo.bar"), | ||
FILE_PATH_LITERAL("jack/bar.buz") }, | ||
internal::PATH_COMPARISON_FAILED_UNKNOWN}, | ||
}; | ||
|
||
for (size_t i = 0; i < arraysize(cases); ++i) { | ||
base::FilePath p1(cases[i].inputs[0]); | ||
base::FilePath p2(cases[i].inputs[1]); | ||
internal::PathComparisonReason reason = | ||
internal::ComparePathsIgnoreCase(p1, p2); | ||
EXPECT_EQ(cases[i].expected, reason) << | ||
"i: " << i << ", p1: " << p1.value() << ", p2: " << p2.value(); | ||
} | ||
} | ||
// Copyright 2013 The Chromium Authors. All rights reserved. | ||
// Use of this source code is governed by a BSD-style license that can be | ||
// found in the LICENSE file. | ||
|
||
#include "chrome/browser/profiles/file_path_verifier_win.h" | ||
|
||
#include "base/files/file_path.h" | ||
#include "testing/gtest/include/gtest/gtest.h" | ||
|
||
TEST(FilePathVerifierTest, ComparePathsIgnoreCase) { | ||
const struct PathComparisonReasonTestData { | ||
const base::FilePath::CharType* inputs[2]; | ||
internal::PathComparisonReason expected; | ||
} cases[] = { | ||
{ { FILE_PATH_LITERAL("test/foo.bar"), | ||
FILE_PATH_LITERAL("test/foo.bar") }, | ||
internal::PATH_COMPARISON_EQUAL}, | ||
{ { FILE_PATH_LITERAL("test\\foo.bar"), | ||
FILE_PATH_LITERAL("test\\foo.bar") }, | ||
internal::PATH_COMPARISON_EQUAL}, | ||
{ { FILE_PATH_LITERAL("test/foo.bar"), | ||
FILE_PATH_LITERAL("test/foo.baz") }, | ||
internal::PATH_COMPARISON_FAILED_SAMEDIR}, | ||
{ { FILE_PATH_LITERAL("test/foo.bar"), | ||
FILE_PATH_LITERAL("test/joe/foo.bar") }, | ||
internal::PATH_COMPARISON_FAILED_SAMEBASE}, | ||
{ { FILE_PATH_LITERAL("test/foo.bar"), | ||
FILE_PATH_LITERAL("jack/bar.buz") }, | ||
internal::PATH_COMPARISON_FAILED_UNKNOWN}, | ||
}; | ||
|
||
for (size_t i = 0; i < arraysize(cases); ++i) { | ||
base::FilePath p1(cases[i].inputs[0]); | ||
base::FilePath p2(cases[i].inputs[1]); | ||
internal::PathComparisonReason reason = | ||
internal::ComparePathsIgnoreCase(p1, p2); | ||
EXPECT_EQ(cases[i].expected, reason) << | ||
"i: " << i << ", p1: " << p1.value() << ", p2: " << p2.value(); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
eroman@chromium.org | ||
mmenke@chromium.org | ||
eroman@chromium.org | ||
mmenke@chromium.org |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
// Copyright (c) 2014 The Chromium Authors. All rights reserved. | ||
// Use of this source code is governed by a BSD-style license that can be | ||
// found in the LICENSE file. | ||
|
||
#ifndef CHROME_BROWSER_SERVICES_GCM_GCM_APP_HANDLER_H_ | ||
#define CHROME_BROWSER_SERVICES_GCM_GCM_APP_HANDLER_H_ | ||
|
||
// Temporary workaround to make code depends on gcm_app_handler in old location | ||
// build. | ||
#include "components/gcm_driver/gcm_app_handler.h" | ||
|
||
#endif // CHROME_BROWSER_SERVICES_GCM_GCM_APP_HANDLER_H_ | ||
// Copyright (c) 2014 The Chromium Authors. All rights reserved. | ||
// Use of this source code is governed by a BSD-style license that can be | ||
// found in the LICENSE file. | ||
|
||
#ifndef CHROME_BROWSER_SERVICES_GCM_GCM_APP_HANDLER_H_ | ||
#define CHROME_BROWSER_SERVICES_GCM_GCM_APP_HANDLER_H_ | ||
|
||
// Temporary workaround to make code depends on gcm_app_handler in old location | ||
// build. | ||
#include "components/gcm_driver/gcm_app_handler.h" | ||
|
||
#endif // CHROME_BROWSER_SERVICES_GCM_GCM_APP_HANDLER_H_ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
derat@chromium.org | ||
jamescook@chromium.org | ||
oshima@chromium.org | ||
sky@chromium.org | ||
derat@chromium.org | ||
jamescook@chromium.org | ||
oshima@chromium.org | ||
sky@chromium.org |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
pkasting@chromium.org | ||
sky@chromium.org | ||
pkasting@chromium.org | ||
sky@chromium.org |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
pkasting@chromium.org | ||
sky@chromium.org | ||
pkasting@chromium.org | ||
sky@chromium.org |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
derat@chromium.org | ||
jamescook@chromium.org | ||
sky@chromium.org | ||
derat@chromium.org | ||
jamescook@chromium.org | ||
sky@chromium.org |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
eroman@chromium.org | ||
mmenke@chromium.org | ||
eroman@chromium.org | ||
mmenke@chromium.org |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
benwells@chromium.org | ||
benwells@chromium.org | ||
tapted@chromium.org | ||
|
||
# Windows | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,52 +1,52 @@ | ||
html { | ||
overflow:auto; | ||
} | ||
body, td { | ||
overflow:auto; | ||
margin:0px; | ||
font-family:arial; | ||
font-size:84%; | ||
} | ||
.header { | ||
background-color:#d8dfea; | ||
padding:10px 10px 10px 8px; | ||
} | ||
.icontext { | ||
text-align:center; | ||
font-family:tahoma; | ||
font-size:11px; | ||
padding:1px 0px 0px 2px; | ||
} | ||
.title { | ||
font-size:115%; | ||
font-weight:bold; | ||
} | ||
.desc { | ||
display:block; | ||
padding-top:5px; | ||
} | ||
.main { | ||
margin:17px 13px 0px 14px; | ||
} | ||
.eula { | ||
margin:5px 10px 0px 5px; | ||
} | ||
iframe { | ||
border:1px solid #999999; | ||
} | ||
.footer { | ||
position:absolute; | ||
bottom:0px; | ||
padding:5px 5px 5px 5px; | ||
} | ||
form { | ||
margin:0px; | ||
padding:0px; | ||
} | ||
.labelcell { | ||
padding-top:2px; | ||
} | ||
.buttons { | ||
margin:8px 5px 0px 5px; | ||
text-align:right; | ||
html { | ||
overflow:auto; | ||
} | ||
body, td { | ||
overflow:auto; | ||
margin:0px; | ||
font-family:arial; | ||
font-size:84%; | ||
} | ||
.header { | ||
background-color:#d8dfea; | ||
padding:10px 10px 10px 8px; | ||
} | ||
.icontext { | ||
text-align:center; | ||
font-family:tahoma; | ||
font-size:11px; | ||
padding:1px 0px 0px 2px; | ||
} | ||
.title { | ||
font-size:115%; | ||
font-weight:bold; | ||
} | ||
.desc { | ||
display:block; | ||
padding-top:5px; | ||
} | ||
.main { | ||
margin:17px 13px 0px 14px; | ||
} | ||
.eula { | ||
margin:5px 10px 0px 5px; | ||
} | ||
iframe { | ||
border:1px solid #999999; | ||
} | ||
.footer { | ||
position:absolute; | ||
bottom:0px; | ||
padding:5px 5px 5px 5px; | ||
} | ||
form { | ||
margin:0px; | ||
padding:0px; | ||
} | ||
.labelcell { | ||
padding-top:2px; | ||
} | ||
.buttons { | ||
margin:8px 5px 0px 5px; | ||
text-align:right; | ||
} |
Oops, something went wrong.