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

Side by Side Diff: chrome/browser/extensions/api/storage/settings_frontend_unittest.cc

Issue 11747025: Run the JSON Schema Compiler's bundle compilation on JSON files. Previously it (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix ms release build Created 7 years, 11 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 | Annotate | Revision Log
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 "testing/gtest/include/gtest/gtest.h"
6
7 #include "base/bind.h" 5 #include "base/bind.h"
8 #include "base/file_util.h" 6 #include "base/file_util.h"
9 #include "base/files/scoped_temp_dir.h" 7 #include "base/files/scoped_temp_dir.h"
10 #include "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
11 #include "base/message_loop.h" 9 #include "base/message_loop.h"
12 #include "base/stringprintf.h" 10 #include "base/stringprintf.h"
13 #include "chrome/browser/extensions/settings/leveldb_settings_storage_factory.h" 11 #include "chrome/browser/extensions/api/storage/leveldb_settings_storage_factory .h"
14 #include "chrome/browser/extensions/settings/settings_frontend.h" 12 #include "chrome/browser/extensions/api/storage/settings_frontend.h"
15 #include "chrome/browser/extensions/settings/settings_namespace.h" 13 #include "chrome/browser/extensions/api/storage/settings_namespace.h"
16 #include "chrome/browser/extensions/settings/settings_test_util.h" 14 #include "chrome/browser/extensions/api/storage/settings_test_util.h"
17 #include "chrome/browser/value_store/value_store.h" 15 #include "chrome/browser/value_store/value_store.h"
18 #include "chrome/common/chrome_notification_types.h" 16 #include "chrome/common/chrome_notification_types.h"
19 #include "content/public/test/test_browser_thread.h" 17 #include "content/public/test/test_browser_thread.h"
18 #include "testing/gtest/include/gtest/gtest.h"
20 19
21 using content::BrowserThread; 20 using content::BrowserThread;
22 21
23 namespace extensions { 22 namespace extensions {
24 23
25 namespace settings = settings_namespace; 24 namespace settings = settings_namespace;
26 namespace util = settings_test_util; 25 namespace util = settings_test_util;
27 26
28 namespace { 27 namespace {
29 28
(...skipping 250 matching lines...) Expand 10 before | Expand all | Expand 10 after
280 279
281 frontend_->RunWithStorage( 280 frontend_->RunWithStorage(
282 id, settings::SYNC, base::Bind(&UnlimitedSyncStorageTestCallback)); 281 id, settings::SYNC, base::Bind(&UnlimitedSyncStorageTestCallback));
283 frontend_->RunWithStorage( 282 frontend_->RunWithStorage(
284 id, settings::LOCAL, base::Bind(&UnlimitedLocalStorageTestCallback)); 283 id, settings::LOCAL, base::Bind(&UnlimitedLocalStorageTestCallback));
285 284
286 MessageLoop::current()->RunUntilIdle(); 285 MessageLoop::current()->RunUntilIdle();
287 } 286 }
288 287
289 } // namespace extensions 288 } // namespace extensions
OLDNEW
« no previous file with comments | « chrome/browser/extensions/api/storage/settings_frontend.cc ('k') | chrome/browser/extensions/api/storage/settings_namespace.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698