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

Side by Side Diff: components/omnibox/browser/shortcuts_backend.cc

Issue 1551433002: Switch to standard integer types in components/, part 3 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more Created 4 years, 12 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "components/omnibox/browser/shortcuts_backend.h" 5 #include "components/omnibox/browser/shortcuts_backend.h"
6 6
7 #include <stddef.h>
8
7 #include <map> 9 #include <map>
8 #include <string> 10 #include <string>
9 #include <vector> 11 #include <vector>
10 12
11 #include "base/bind.h" 13 #include "base/bind.h"
12 #include "base/bind_helpers.h" 14 #include "base/bind_helpers.h"
13 #include "base/guid.h" 15 #include "base/guid.h"
14 #include "base/i18n/case_conversion.h" 16 #include "base/i18n/case_conversion.h"
15 #include "base/metrics/histogram_macros.h" 17 #include "base/metrics/histogram_macros.h"
16 #include "base/strings/string_util.h" 18 #include "base/strings/string_util.h"
(...skipping 299 matching lines...) Expand 10 before | Expand all | Expand 10 after
316 shortcuts_map_.clear(); 318 shortcuts_map_.clear();
317 guid_map_.clear(); 319 guid_map_.clear();
318 FOR_EACH_OBSERVER(ShortcutsBackendObserver, observer_list_, 320 FOR_EACH_OBSERVER(ShortcutsBackendObserver, observer_list_,
319 OnShortcutsChanged()); 321 OnShortcutsChanged());
320 return no_db_access_ || 322 return no_db_access_ ||
321 db_runner_->PostTask( 323 db_runner_->PostTask(
322 FROM_HERE, base::Bind(base::IgnoreResult( 324 FROM_HERE, base::Bind(base::IgnoreResult(
323 &ShortcutsDatabase::DeleteAllShortcuts), 325 &ShortcutsDatabase::DeleteAllShortcuts),
324 db_.get())); 326 db_.get()));
325 } 327 }
OLDNEW
« no previous file with comments | « components/omnibox/browser/shortcuts_backend.h ('k') | components/omnibox/browser/shortcuts_database.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698