| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
| |
This addresses a couple of bug reports I've received on these
presubmit checks. I also fixed how reviewers_plus_owner is created in
_CheckAddedDepsHaveTargetApprovals based on comments on a previous
patch.
BUG=None
Review URL: https://chromiumcodereview.appspot.com/15755002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@201792 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
specified.
TBR=maruel@chromium.org
BUG=none
Review URL: https://codereview.chromium.org/15491008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@201426 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
skia::RefPtr is the closest Chromium construct to scoped_refptr and also
the safest Skia refcounting class. To avoid other people continually
shooting themselves in the face mistaking SkRefPtr for skia::RefPtr (one
of which refs the pointer you give it and the other doesn't), ban this
in Chromium via global PRESUBMIT.
The Skia team also prefers to keep the SkAutoTUnref template private
(see discussion here: https://codereview.appspot.com/6849109/), so
prefer SkRefPtr over that as well.
Finally, SkAutoUnref and SkAutoRef are both templates that support
SkRefPtr and SkAutoTUnref, so make sure these are unused as well.
R=maruel@chromium.org
BUG=none
Review URL: https://chromiumcodereview.appspot.com/15063008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@201029 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
if adding a "+foo/bar" rule to DEPS.
BUG=none
R=maruel@chromium.org
Review URL: https://codereview.chromium.org/15043003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@199726 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
Ensure checkdeps searches the current repository instead of
only Chromium's. This is part of enabling checkdeps in Blink.
BUG=238992
NOTRY=true
Review URL: https://chromiumcodereview.appspot.com/14779012
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@199296 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
We're using plenty of ...ForTesting() methods to run layout tests
R=joi@chromium.org
Review URL: https://codereview.chromium.org/14913002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@198094 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
Similar to foo_unittest and foo_browsertest, the compositor
also has foo_pixeltest files.
R=maruel@chromium.org
Review URL: https://chromiumcodereview.appspot.com/14315013
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@196796 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The current check for deciding if a file is a unittest allows
a strict whitelist of platforms as suffixes. However, when a
unittest file becomes too large, it is useful to split it on
other axes than by platform. This allows a _suffix for a topic
to be used without failing production-only presubmit checks.
In other words, it considers foo_bar_unittest_baz.cc to be a
unittest.
There are many examples of foo_unittest_utils.cc which are used
only by unit tests throughout chromium, but they have been lucky
to avoid using FunctionForTesting type functions. In cc/ we have
run into this problem, so allowing our unittests to be considered
non-production code prevents false positive warnings about our
test files.
NOTRY=true
R=maruel@chromium.org
BUG=
Review URL: https://chromiumcodereview.appspot.com/14317011
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@195780 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
BUG=none
Review URL: https://codereview.chromium.org/14101006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@194681 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
NOTRY=true
Review URL: https://chromiumcodereview.appspot.com/13093006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@191863 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
We will need to choose the backend at runtime for A/B testing. This change is
the first step towards backend comparisons: it moves the logic of choosing among
cache backends to a single point (cache_creator.cc) and makes it logically
separate from BackendImpl. Next step would be to inject performance-analyzer
backend into this cache backend choice logic. The analyzer is going to be under
a compile-time flag.
With this change the Simple Cache Backend operation gets enabled when the
"SimpleCacheTrial" experiment is set.
Cache Initialization.
The Simple Cache Backend now shares the common initialization/cleanup code. So
it can delete inconsistent cache, cache of a different version etc
asynchronously. It is just a positive side-effect of moving the backend choice
to a single point.
The CacheCreator with almost no change.
To see the difference:
shell> out/Debug/chrome --enable-logging=stderr --v=1 \
--user-data-dir=/tmp/unique --use-simple-cache-backend=on \
http://url 2>&1 | grep "Simple Cache"
BUG=173390, 173384
TBR=maruel
Review URL: https://chromiumcodereview.appspot.com/12794003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@191830 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
This directory should now always pass chromium's PRESUBMITs
BUG=144577
NOTRY=true
Review URL: https://chromiumcodereview.appspot.com/13201005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@191184 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
R=maruel@chromium.org
BUG=none
CONTEXT=http://goo.gl/hrlj1
TEST=PRESUBMIT_test.py and less OS_MAXOSX!
NOTRY=true
Review URL: https://chromiumcodereview.appspot.com/12845013
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@190693 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This was added when initially importing this code from WebKit that didn't
comply with chromium's style rules. This code now passes lint and presubmit
checks so there's no need for the exclusion.
NOTRY=true
BUG=144577
Review URL: https://chromiumcodereview.appspot.com/12695010
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@189029 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
| |
Review URL: https://codereview.chromium.org/12328039
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@183833 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is a port of some of the changes made to the common.mk
system when it was ported to support building nacltoons.
Also, change oshelpers "rm -f" so that is doesn't output
anything when it can't find files (this matches /bin/rm
behavior).
Also, remove redundant nmf build rules from host_vc.mk and
host_gcc.mk.
Also, add .mk files to exclusion list in top level
PRESUBMIT.py since they contain lines longer than 80 chars
and fixing this would make them harder to read.
BUG=None
Review URL: https://chromiumcodereview.appspot.com/12209097
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@181856 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
TBR=maruel@chromium.org
BUG=none
TEST=none
Review URL: https://codereview.chromium.org/12033111
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@178899 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
NOTRY=true
BUG=150046
TEST=none
Review URL: https://chromiumcodereview.appspot.com/12047112
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@178837 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
Previously, we used to run all _test.py files in this directory.
BUG=NONE
NOTRY=true
Review URL: https://chromiumcodereview.appspot.com/12037006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@177927 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
While I totally get this for production code, it doesn't apply to for example
tools/perf, where we keep sitelists intentionally. Because this hooks into
common checks, there's no clean way to disable it that I can see.
> Warn when committing code with http:// URLs.
>
> We prefer HTTPS for everything, to the extent possible.
>
> NOTRY=true
> BUG=156396
>
>
> Review URL: https://chromiumcodereview.appspot.com/11779037
TBR=palmer@chromium.org
Review URL: https://codereview.chromium.org/11811004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@177079 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
We prefer HTTPS for everything, to the extent possible.
NOTRY=true
BUG=156396
Review URL: https://chromiumcodereview.appspot.com/11779037
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@176986 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
BUG=130980
Review URL: https://codereview.chromium.org/11917002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@176945 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
know what win_aura bots are anymore. Renamed to win7_aura.
TBR=cmp
Review URL: https://codereview.chromium.org/11853006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@176262 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
BUG=None
R=maruel@chromium.org
TEST=PRESUBMIT_test.py, less needless try jobs.
NOTRY=true
Review URL: https://chromiumcodereview.appspot.com/11830057
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@176192 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Silence the valid authors debug message, unless the check fails.
The message takes a lot of space because the author file is big, and
is not especially helpful (just lists parse results from the authors
file).
NOTRY=True
Review URL: https://chromiumcodereview.appspot.com/11782010
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@175360 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
check.
BUG=129187
TEST=NONE
Review URL: https://chromiumcodereview.appspot.com/11554003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@174348 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
All the calls to RunAllPending() were moved to RunUntilIdle(), so now we can
remove this.
BUG=131220
R=willchan@chromium.org
TBR=maruel@chromium.org # for presubmit
Review URL: https://chromiumcodereview.appspot.com/11635008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@173939 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
BUG=NONE
NOTRY=true
Review URL: https://chromiumcodereview.appspot.com/11607019
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@173773 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This fixes a stupid bug that got past my testing (I tested the
positive case but not the negative).
TBR=maruel@chromium.org
NOTRY=true
BUG=None
Review URL: https://chromiumcodereview.appspot.com/11534010
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@172328 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
server-side services to lower layers.
BUG=164568
Review URL: https://chromiumcodereview.appspot.com/11475030
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@172221 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This enables the commit queue to commit patches where the #include order is
"wrong" according to the check.
NOTRY=true
BUG=
Review URL: https://chromiumcodereview.appspot.com/11496010
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@172084 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
Alter presubmit check to only warn about the deprecated flavour of FindOrCreateTabbedBrowser.
BUG=129187
TEST=NONE
Review URL: https://codereview.chromium.org/11444010
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@171570 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
1) Handle #define and #undef the same way as #if etc. See e.g.,
https://codereview.chromium.org/11363222/diff/10015/chrome/browser/history/history_unittest.cc
line 545.
2) Also headers can have the special first include, not only sources. See e.g.,
net/disk_cache/storage_block-inl.h.
NOTRY=true
BUG=NONE
Review URL: https://chromiumcodereview.appspot.com/11441035
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@171511 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is a follow-up to me having to remove some of these by hand in r171143.
R=maruel@chromium.org
NOTRY=true
BUG=none
Review URL: https://chromiumcodereview.appspot.com/11448014
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@171287 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=129187
Review URL: https://chromiumcodereview.appspot.com/11416349
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@171175 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
BUG=129187
TEST=NONE
Review URL: https://chromiumcodereview.appspot.com/11348344
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@171057 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
BUG=129187
TEST=none
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=169654
Review URL: https://codereview.chromium.org/11365128
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@170176 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
| |
BUG=154081
Review URL: https://codereview.chromium.org/11411213
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@170135 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
TBR=joi@chromium.org
Review URL: https://codereview.chromium.org/11308228
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@169666 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
BUG=129187
TEST=none
Review URL: https://chromiumcodereview.appspot.com/11365128
Speculative revert to fix Win Aura crash in unit test
ExtensionServiceTest.LoadExtensionsWithPlugins.
TBR=grt@chromium.org
Review URL: https://codereview.chromium.org/11413189
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@169664 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
banned CPP functions check
Also add shell_browser_main.cc to the list of excluded paths for the ScopedAllowIO object. This file does the setup for layout tests which requires a fair number of IO.
BUG=none
R=joi@chromium.org
Review URL: https://codereview.chromium.org/11419182
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@169657 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=129187
TEST=none
Review URL: https://chromiumcodereview.appspot.com/11365128
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@169654 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
E.g.,
need to be in this order, since the latter uses definitions from the former.
BUG=NONE
Review URL: https://codereview.chromium.org/11418128
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@169290 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
R=maruel@chromium.org,thakis@chromium.org
BUG=None
Review URL: https://chromiumcodereview.appspot.com/11417044
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@168715 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
BUG=161390
Review URL: https://codereview.chromium.org/11413036
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@168191 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
It's failing to handle some #ifdef properly.
TBR=marja@chromium.org
NOTRY=true
BUG=161390
Review URL: https://chromiumcodereview.appspot.com/11417018
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@168107 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
The previous version didn't take into account that source files
can have a platform specific suffix.
BUG=NONE
TBR=ben@chromium.org
Review URL: https://codereview.chromium.org/11413012
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@167996 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Some files in content/ can have their first include in content/public.
Also, the check didn't detect all the error where there were non-include lines
between two conflicting #include lines.
BUG=NONE
Review URL: https://codereview.chromium.org/11365263
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@167735 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
BUG=NONE
Review URL: https://codereview.chromium.org/11364156
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@167654 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=133088
TBR=ben@chromium.org
Review URL: https://codereview.chromium.org/11363188
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@167131 0039d316-1c4b-4281-b951-d872f2087c98
|